adding the QueryIteratorTrait