After several hours of being trapped in a cable car hundreds of feet above a valley in Pakistan, all eight passengers — two adults and six children on their way to school — have been safely evacuated from the vehicle, the nation’s Prime Minister Anwaar-ul-Haq Kakar confirmed on Tuesday afternoon.

“Relieved to know that Alhamdolillah all the kids have been successfully and safely rescued,” the leader wrote on Twitter, taking care to commend the agencies that led to the high-stakes mission’s success. “Great team work by the military, rescue departments, district administration as well as the local people.”

The vehicle, which became stuck after one cable snapped, was ultimately freed as rescuers used “helicopters and a makeshift chairlift,” per CBS News, an effort that attracted crowds to the cable car’s relatively remote location.

Yet if there’s one lesson to be taken from this whole ordeal, let it be this — 20 years from now when these students have children of their own, those kids better not make a single peep about having to take the bus to class.