run the query too