add functions to the game