rewrote menubar