added getters and setters for properties