changes to be compatible with setters/getters