some more classes for queries