By Stephanie Petit
April 30, 2017 at 04:29 PM EDT

Prom is supposed to be a night to remember, and students at Huntley High School near Chicago certainly won’t be forgetting their big night anytime soon.

The Chainsmokers treated teens to a surprise 10-minute performance ahead of their gig at the Allstate Arena on Saturday night, according to the Chicago Daily Herald.

The hitmakers, made up of Andrew Taggart and Alex Pall, even shared a photo with the stunned crowd on Twitter.

“Crashed this prom just now,” they captioned the snap. “It was across the street from our arena show, so why not.”

Students also took out their phones to document the surprise, sharing photos and videos to social media as the duo performed hits like “Closer” to the private show.

Turns out, it all started when a student who was a fan of The Chainsmokers sent them an email.

“About two weeks ago I got this random phone call that I happened to answer, and on the other end this person said ‘This is going to be the strangest call you’ve ever received, but one of your students actually sent an email to the manager of the band,’ ” Huntley High School Principal Scott Rowe told the Daily Herald about getting the call from a filmographer with the band.

He continued, “It was probably the toughest secret I’ve ever kept, because I knew the kids were going to go crazy for it.”

Rowe said The Chainsmokers started their performance soon after the dance began at 7 p.m. but it took students a minute to realize what was happening.

“It says a lot about those guys and how cool they are to their fans,” Rowe said of the free gig.

And the band may not be done with their party crashing.

“Your prom could be next,” they tweeted.