The person in charge of the game whose primary role is to ensure adherence by both players to the appropriate rules of the game being played. Other duties of the referee include racking each frame , re-spotting balls during the course of a game , maintaining the equipment associated with the table (e.g. keeping the balls clean ), controlling the crowd and, if necessary, controlling the players. Formerly sometimes referred to as the umpire .