added the AttrSetter class