Implemented search.