implemented setMode and setHighPowerRegs