added getters setters solution