added query methods