added powertestswitch