attempt to use lo-dash to retrieve the max of trafficCosts. not working yet...