added functionality for gamemenu class