 		bluetooth.print(myChar);
 	}
 
+	if (myChar == 9)
+	{
+		shutDown();
+	}
+
 	drive();
 }
 

{
	// update position and sensorValues
	position = qtra.readLine(sensorValues);

	if (pathPositionInLaterRun > pathLength && !isFirstRun)
	{
		turnOffAllLeds();
		moveBothMotors(0, forward, 0, forward);
		exit(0);
	}

	// if the time for the last step before turn is over
	if (direction == diversionChecking

		turnOffAllLeds();
	}
}
#pragma endregion

void shutDown() 
{
	turnOffAllLeds();
	moveBothMotors(0, forward, 0, forward);
	exit(0);
}