This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

HALIFAX, Va. — Getting pulled over is never fun. You get that sinking feeling the second you see flashing lights in your rear view mirror.

Some people start planning an excuse while others start to worry. Now, you might need to worry whether you’re hungry or not.

A police department in Virginia is pulling over unsuspecting drivers and handing out ice cream cones, according to WTKR.

This latest attempt at developing better relations between police and the communities they serve comes from Halifax, Virginia, where Police Chief Kevin Lands and his officers have been stopping drivers and making them aware of “Vehicle code 1739” — driving on a hot day without an ice cream cone.

When asked why he did it, Chief Lands said that he and Officer Warner, “wanted to try and put some smiles on people’s faces.”

One such stop was captured on video, which has been viewed more than four million times on Facebook.

Officer Brian Warner told WSET they pulled over 20 people Friday, but handed out cones instead of tickets.

The shocked reactions from the drivers, especially from the young lady in the video, well, that was just icing on the ice cream cake.

“Her reaction was absolutely the best,” Warner said. “It was genuine, and she had us smiling and laughing for a good hour afterwards, and I’ve probably watched the video myself 50 times just laughing… and that’s one of the great things with police work you get to meet people like that on a daily basis, and it makes the job worth it.”

Halifax’s police department is small — just five officers — but their patrol cars have a cooler full of frozen treats, so if you’re driving safely through town and get stopped, don’t sweat it. Chances are they’ll let you go with a sweet warning.