Implement the search feature