modify query methods