adding to game logic