moved setters and getters together