overriding query