Meghan Trainor appeared onstage with the Backstreet Boys on ABC’s newest television show Greatest Hits. The two parties sang the legendary boyband’s international chart-topper “I Want It That Way.” The pair had everyone in the audience singing along as they went on a trip down memory lane. Wearing matching white jackets and set to the iconic choreography, each member sang their lines while the “All About That Bass” singer contributed some memorable harmonies. Their performance marks just one of the show’s many collaborations between classic and contemporary artists.

Watch Meghan Trainor, Justin Bieber, and Nick Jonas in hilarious ‘Famous’ parody

Greatest Hits airs Thursdays on ABC at 9|8c. Hosted by Arsenio Hall and Kelsea Ballerini, the show  features “iconic music artists, as well as today’s music chart-toppers, will take the stage and perform the songs that defined the 1980s, 1990s and 2000s.” Watch the nostalgia-inducing performance below.

Watch Meghan Trainor and BSB sing “I Want It That Way” on ABC’s Greatest Hits


Did this performance take you back to high school? Let us know on our Facebook and Twitter!