functionality changes to expand main menu
functionality changes to expand main menu