changed order of pins