replacing accessors with getters/setters