moved attr_accessor to parent object