POWELL, Wyo. (AP) — A dozen Powell-area residents have been sentenced for exploiting a glitch at McIntosh Oil Company gas pumps that allowed them to get as much fuel as they wanted for $1.

Court records say the company lost roughly $12,000 from the scheme in 2012 and 2013. The last of the 12 criminal cases wrapped up last month.

The total punishments for the defendants included five months of jail time, nearly 20 years of probation and one trip to boot camp.

A defect at the gas pump machines had allowed the defendants to use prepaid credit cards to fill up their tanks for only $1. McIntosh Oil discovered the glitch in April 2013, months after the thefts started.

Police still haven't traced $3,000 of the $12,000 loss.