set accessors in the set_accessors! method