use Intrinsic enum instead of Attribute