Implemented the menu concept