worked on getters and setters