refactoring: main menu (3)