added the calculation of total miles the car can drive.