A Perryville, Missouri, company that produces foam products for companies around the country was damaged by an overnight fire that took nearly 12 hours to extinguish.

Three of the five buildings owned by Atlas Roofing were completely destroyed in a fire that started at around 9:30 Thursday night.

Three people were in one of the buildings when the fire started, but they were able to make it out OK. The Mayor of Perryville said the products made by the company are highly flammable.

Firefighters fought freezing hoses and slippery conditions to put out the blaze.

The fire was completely extinguished at 8 a.m.