The law targets the youngest and newest drivers.

CHICAGO (AP) — A new Illinois law aims to teach drivers how to act if they’re stopped by a police officer.

The Chicago Tribune reports that the measure comes amid increased tension in Chicago and across the nation over how traffic stops can go terribly wrong and turn deadly in the worst cases.

The law targets the youngest and newest drivers, mandating that all driver’s education classes include a section on what to do during a traffic stop.

The bill went quickly through the state Legislature and was signed into law by Gov. Bruce Rauner last month.