commented the GameState class