Implemented Search Functionality