start of entity type registrar