changed MainMenu to MainMenu_t