changed getters and setters to c# properties