finished the search engine