FRESNO (CBS/AP) — An elementary school superintendent in Central California says he allowed a janitor to wear a mask and carry a fake gun during an active-shooter drill to “make sure this was realistic.”

A teacher told KSEE-TV that the drill, which happened at Raisin City Elementary School before the summer break, went too far.

READ MORE: UPDATE: Alameda County Supes Vote To Help Finance Oakland A's Stadium

Kim Copper said the masked gunman pounded on her classroom door and tried to open it as she huddled in a corner with terrified students.

School Superintendent Juan Sandoval admitted teachers and students were not told about the janitor’s role. He said active-shooter drills have become routine and he wanted students to understand the gravity of the situation.

READ MORE: Bay Area Health Experts Weigh In After FDA Advisers Back Pfizer COVID-19 Vaccine For Kids 5 To 11

A school board official told the station the school will improve its active-shooter training procedure.

READ MORE: Raisin City Superintendent has school janitor wear mask and carry fake gun in active shooter drill

MORE NEWS: Curry Scores 23, Warriors Top Thunder To Remain Unbeaten, 106-98

© Copyright 2019 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report