Implemented a search