Rearranged pins for better layout.