mainmenu is now working