actually do the query