changed motor A to motor C