fixed pins being labelled incorrectly