This substitute teacher in Ohio allegedly molded minds while touching himself.

Substitute teacher Tracey Abraham, 41, was arrested Tuesday morning at Creekside Middle School after he was allegedly caught masturbating in a classroom while students were present, the Cincinnati Enquirer reported.

The class reportedly noticed “suspicious behavior by the substitute that was taking place behind” his desk around 10:30 a.m.

The alleged behavior was reported to administrators and the teacher was immediately removed from school property.

Charges were filed against Abraham for public indecency. He was arraigned Tuesday in Fairfield Municipal Court.

School officials said in a statement that Abraham will not be returning to the district.

Abraham’s father claimed the incident was a misunderstanding and said his son “never had an issue like this in his life.”

“I don’t think what [the students] saw is what really was happening,” Rick Abraham told the Cincinnati Enquirer.