slight update to registration. Move checksum to header