added the search feature