adding search functionality
search functionality