added traffic event detection