modified getters to instance variables