added additional methods to query builder