enhanced search results algorithm