Added getCommuteTimes function.