Implemented search flow.