added output of registration code (for presentation).