power supply & master switch