Illinois students partaking in driver's education classes will now be taught how to handle being pulled over by police.

Republican Gov. Bruce Rauner signed the bill into law on Friday. It requires instruction time for students to learn how to react to a traffic stop before they get behind the wheel.

The law requires driver's education teachers in public and private schools, as well as in driver training schools, to teach students how to interact with police if pulled over. The change is aimed at helping teenagers learn how to not panic, as well as to not do anything that may seem like a red flag to police.

"My hope is that if we uniformly require that driver's education include the protocol and what is expected when you interact with a police officer that things will not escalate," State Sen Julie Morrison, a Democrat who sponsored the bill, told ABC Chicago.

The Secretary of State's Office will develop the guidelines, which will be put in place for the 2017-2018 school year.

Secretary of State Jesse White said it is "important for individuals to know what conduct they should demonstrate when they're stopped by a law enforcement officer."