Added calculating mileage and pay