added printMenu() for direct printing of the menu