creates search functionality
Improves Search Functionality