added menuitem for main