addition of search functionality