starting code the menu controller