started working on the search functionality