abstracted away the menu view