better example of a query in docs