def properties= value
      value.each do |k,v|
        self.add_property k.to_s, v
      end
    end
def properties= value
      value.each do |k,v|
        self.add_property k.to_s, v
      end
    end
assign hash to properties