change the variable name of register