how to connect power switch