(CNN) Some drivers in Boise, Idaho, have gotten a jolly surprise after seeing flashing blue lights in their rear-view mirrors: police are giving out candy instead of tickets for some minor offenses.

In the days leading up to Christmas, Boise police officers have been giving motorists chocolate bars and a safety warning during traffic stops.

"That positive interaction we that have with them is an opportunity for us to help educate them on being aware of their driving and being safe drivers," Cpl. Kyle Wills told CNN affiliate KIVI

The drivers get two candy bars -- one to enjoy and one to give to someone else, who they think needs a pick-me-up.

"The fine is you have to pay the other one forward to someone who you think can use the other one. Fair enough?" Wills told a driver during a recent traffic stop.

Read More