Implemented Search functionality