Implement search functionality