improvements to search functionality