less work in getter and setter