Traffic signals are instruments for controlling traffic by using changing lights . They are used for controlling traffic .
According to transportation engineers , traffic lights can have both positive and negative effects on traffic safety and traffic flow .