introducing encapsulation (getters, setters)