Using accessors is good OOP design