removed unused code in GameState