more implementation in TrafficSim