trafficSim cast as int