implemented actions on menu items