A legislation signed late last week by Tennessee Republican Governor Bill Lee would allow teachers and school staff in the state to be armed while on school property.

The law, aimed at improving school safety, allows approved and trained educators and school staff to carry concealed handguns on campus.

According to the rules of the legislation, an applicant for a concealed carry on campus must pass a background check and undergo a psychological exam. They must also complete 80 hours of annual training, which would be paid for by them.

An applicant that passes the requirements would be approved by the school superintendent, the principal and the chief of local law enforcement.

Under the opt-in program, approved carriers are prohibited from taking guns into stadiums, gymnasiums or auditoriums while games or performances are being held. Guns are also banned from being carried during meetings regarding disciplinary actions or tenure.

People can also not carry weapons openly “or in any other manner in which the handgun is visible to ordinary observation.”

The bill passed the House last Tuesday after passing the Senate earlier in the month.

A day before signing the legislation on Friday, Lee announced support for the law, emphasizing its importance in keeping children safe in schools and better managing incidents like the mass shooting in which three children and three adults were killed at The Covenant School in Nashville last year.

“I do plan on signing the legislation, and I think we need to be really clear about what this does – districts have the right to choose. What’s important to me is that we give districts tools and the option to use the tool that will keep their children safe in their schools,” the governor said, per WSMV.

It is not clear how schools will adopt the program. Some schools systems have, however, made it clear that they do not intend to participate, a move Republicans supporting the legislation have warned against as public statements against the legislation could attract potential shooters to such schools.

“If they did say that, they would be telling their entire community that the deterrent doesn’t exist there,” Rep. Ryan Williams (R-TN) warned.