changes to accessors and set