made the main menu working