display menu and accept input