Quick thinking and great upper body strength helped this construction worker escape death in a huge apartment fire, and it was all caught on tape.

According to the Huffington Post, a construction worker was trapped on the fifth floor of an apartment building in Houston, Tex. – right before the structure went up in flames. The commentary in the video comes from Karen Jones, who recorded the rescue from another building.

“When we saw his foot slip, it was just like uhhh, oh God he’s going to fall,” Karen Jones, who recorded the scene from a nearby building, told local ABC station KTRK. “We thought he was going to be gone.”

In the video, you can see the currently unidentified construction worker jump to another balcony ledge to escape the massive flames. As soon as firefighters were able to rescue him, the roof of the building collapsed behind them.

The worker was treated and released at the scene. Police are currently looking into the cause of the fire.