working on the search