roughing out regCred data type