Renamed totalHours variable to travelHours