pretty printing queries.