Jennifer Lopez and Maluma’s forthcoming movie Marry Me includes scenes from the Colombian singer’s sold-out shows at the Madison Square Garden.

It was Lopez’s idea to include the scenes, telling Jimmy Fallon that the film had a scene where she and Maluma are performing in front of a crowd. Rather than stage a fake show, she thought why not crash Maluma’s?

“He was having like two nights at Madison Square Garden and, of course, the producer in me is like, ‘We can take advantage of this,’” she said. “’We have a scene, a big scene in an arena. Why don’t we do it at your concert.’ And he was like, ‘Okay.’”

The scene is now in the film. “It was amazing,” she told The Tonight Show host. “This scene is in the movie and they just didn’t expect me to come out at his concert. I’ve never been out at one of his concerts, and the crowd went wild and we got it all on film and we sang together.”

The official Marry Me soundtrack came out on Friday, which features songs by J Lo and Maluma. The Bronx native explained that working on the musical aspect was really special to her. “This was actually the first time since I did the movie Selena. I didn’t sing in the movie Selena, that was [Selena Quintanilla’s] voice,” Lopez said. “So this is the first time I got to, like, sing, make an album for a film. This is like joining my two worlds together.”

For her, the soundtrack stands as its own piece, calling it a “Kat and Bastian album,” rather than a Jennifer Lopen and Maluma project. “These are songs that I really picked for the characters and that really, kind of, furthered along the story, just like any good musical. And it really tells the love story. The journey of, you know, finding your true love.”

Later, she and Maluma performed “Marry Me” for Jimmy Fallon, which you can watch below.