added getters & setters for variables