implement menubar