switched order of pins to reverse