add the register code