use attr_accessor instead of attr for ree
deperacate ree support