added getters/setters to class attributes as a requirement for deserializion