add a field for category for extrinsic case