By Meghan Overdeep
Updated Jul 08, 2016 @ 11:45 am
Meghan Trainor and Backstreet Boys - Video Lead
Credit: Courtesy

Prepare yourselves for jealousy: Meghan Trainor got to live out the fantasy of every '90s kid when she took the stage with the Backstreet Boys during Thursday's episode of ABC's Greatest Hits. Trainor, 22, joined the beloved boy band for a goosebump-worthy rendition of their 1999 hit "I Want It That Way," complete with choreographed dance moves and matching white blazers. And yes, it's just as amazing as it sounds.

The "All About That Bass" singer and all five original Backstreet members were in perfect harmony as they shuffled back and forth across the stage in unison. The crowd squealed and sang along as Trainor shared a steamy moment with each of the guys during the performance. Let's just say she wasn't the only one fanning herself as she locked eyes with Nick Carter.

Watch the full performance in all its boy-band glory here:

The Backstreet Boys weren't the only ones heaping on the nostalgia during the episode. The brothers of Hanson also took the stage with a gorgeous acoustic version of their mega-hit "MMMBop." Surrounded by lights and a crowd of fans clapping along to the beat, the guys completely slayed their biggest hit in an intimate reboot of the '90s classic.

Check it out in the video above—you don't want to miss it.