add new feature for search functionality