control road traffic by switching traffic lights in order to avoid traffic jams