added a new menu for beginning for end of list
created hidden function to delete