2 switch for register