Implemented the menu