It's probably not the best way to get your child a stuffed animal and it has landed one Massachusetts father in serious trouble with the law.

The Salem New Hampshire Police Department says 34-year-old Anthony Helinski of Lawrence, MA is facing several charges after an incident at the Mall at Rockingham Park.

Helinski turned himself in to police after being captured on video by another shopper with his toddler inside the machine.

As you can see from video released by police last Friday, Helinski was asking the young girl to hand him prizes from inside while another young child watched.

And clearly they were right out in the open doing this stealing as other shoppers passed them by.

The video circulated enough to cause Helinski to head to the police station to face the consequences of his actions.

And it turns out he is also a middle school teacher in Andover and has been placed on leave from his addition to be placed under arrest by officers.

He has been charged with three counts of theft by unauthorized taking, two counts of criminal trespass, and one count of endangering the welfare of a child, was released on PR bail and will be arraigned on October 29, 2018.

More From WFHN-FM/FUN 107