working main menu