implement the search feature in the menu class