hight resolution of the red goes to a switch the power the top outlet the black keeps the bottom outlets hot full time i matched the wiring back up and tested it 