edited wiring diagram