added game state and game timer