the query is the return value of the query() function