Made Motor only code for calibration