worked on the search page