change to attr_accessor from attr_accessible