added pins to motors