implementing menubar