deal search functionality