modified mainMenu