added in the example the query use