search functionality added