Are you aware that traffic lights nowadays can have much more complex programs than just a timer? For example, they can have sensors to detect waiting cars, remote controls to prioritize bus drivers and some regions even have GPS apps to prioritize cyclists.