turned the response querier into a generator