adding more functionality to menus