refactored Main Menu