changed wiring location of outputs