setters and getters changed to accessors