Included captureMotor in throw code