added traffic flow assignment