NEW YORK (CBSNewYork) — Flames ripped through the top floor of an apartment building in the Bronx, injuring three firefighters and displacing dozens of tenants Monday evening.

Authorities say it was food on a stove and a possible electrical fire on the fifth floor of the building that contributed to the fast moving flames which broke out just after 8 p.m. in the Mott Haven section.

More than 30 adults and 16 kids live in the building and were evacuated. Many say they feel lucky they were able to save their beloved dogs.

Now, they’re unsure what kind of damage they’ll be returning home to when they’re allowed to go back inside.

“I was nervous, very nervous,” displaced resident Jaime Brathwaite told CBS2’s Jessica Layton. “I just wanted to get out. It’s been two hours and it’s like, are they gonna let us back in or are we going to have to go to a shelter or something?”

Three firefighters sustained minor injuries in the blaze. Residents won’t be allowed back in the building until at least Tuesday.

Meanwhile, the Red Cross is assisting all those who were displaced.