Added code for the search results