added menubar prototype