The cause of the fire is under investigation.

Fire crews say a family barely made it out alive after their home went up in flames.

It started on the second floor of a home on Linnet Street in Rochester just after 10:15 p.m. Monday.

Firefighters say the neighbors next door heard the smoke detectors going off and woke up the people inside.

A woman and two children were able to make it out. Two cats were inside the home -- one was rescued but the other didn't make it.

The cause of the fire is under investigation.