refactoring: main menu