some changes to game logic