connected the add to the menu