started adding search functionality