added query methods for proposals