wiring diagram explanation