simplifying the search