Trying to figure out the wiring