Added a variable containing the current minimum speed.