func reqs now include complex queries