renamed TRegister to TFullReg so that older versions can compile it