Wis. (WLAX/WEUX) – As trick or treaters go door to door, the department of corrections is focusing on safety, and checking in on sex offenders living in the Madison area.

DOC agents say it’s an added layer of protection for trick or treaters as they ask for candy from neighbors, especially the ones they don’t know very well.

Registered offenders must follow a set of rules on Halloween such as.

They had to be inside their homes from 3 pm to 9 pm.

They also could not answer the door for kids or give away any candy.

Also, no Halloween displays or decorations of any kind.

DOC agents are knocking on doors to make sure they’re following the rules, as breaking these rules could result in an arrest.  Parole Agent Kelli Mack-Muhle says, “We want to make sure that we’re keeping the city itself safe. That the families out there in Dane County can enjoy their trick or treating and don’t have to worry about the sex offenders in the area.”