switched which pin goes which way