added set method to attr_accessor_with_histor