adding methods to game.