added examples to query methods