added traffic light snippet