added the menu control