add another column in RegRecord, separate from 'type' to act as a discriminator