working menu and layout