further improvements to the search engine