getters and setters implementation practice