added a reset to motor A