added separate Attribute model