implemented menu-bar (working state)