added some functionability to the game