Ross mistaking Emily for Rachel at the altar is one of Friends most memorable moments, and it was possible thanks to an honest mistake from David Schwimmer in a previous episode. Created by David Crane and Marta Kauffman, Friends debuted on NBC in 1994 and came to an end in 2004 after ten seasons and a lot of ups and downs in the lives of the main characters. The series followed a group of six friends (Rachel, Monica, Phoebe, Chandler, Joey, and Ross) living in New York City and doing their best to balance their personal and professional lives.

Over the course of ten seasons, viewers met many of the characters’ sentimental partners, of which some stayed for a while and others were just part of the series for one or two episodes. However, there were some that arrived to shake things up, and one of the most memorable ones is Emily Waltham (Helen Baxendale). Ross and Emily met when Rachel promised her boss to take his niece to the theater, but ended up agreeing to go out with Joshua (Tate Donovan) and asking Ross to go out with Emily instead. The two fell in love quite quickly and even got married – although it didn’t last long.

Related: Friends' Original Monica & Joey Plan Would Have Been Super Weird

In season 4’s episode “The One With Ross’ Wedding, Part 2”, Rachel arrived to Ross’ wedding in London to confess her feelings for him but ultimately decided not to. During the ceremony, after reading their vows, Ross’ said “Rachel” instead of “Emily”, becoming one of the most unforgettable (and honestly cringe-worthy) moments of the series. Funny enough, this moment was possible thanks to David Schwimmer messing up his lines in another episode.

Friends’ Rachel/Emily Mix-Up Was A Real Mistake

Ross and Emily during their wedding in Friends

As revealed by Friends writer Greg Malins in The Story Behind and Saul Austerlitz in Generation Friends: An Inside Look at the Show That Defined a Television Era, the Rachel/Emily mix-up came to be after David Schwimmer genuinely got the names wrong. During a rehearsal of a previous episode, and when the writers still weren’t sure where Ross and Emily’s storyline would go, Schwimmer said “Rachel, the taxi’s here” when he was supposed to say “Emily, the taxi’s here”. Malins then turned to Crane and said “that’s it”, so they went with the mix-up storyline. This ended up working for everyone as Baxendale didn’t want to stay in America while pregnant, and the writers used the mix-up to write her out in the next season, having her make only cameo appearances from then on.

Within the series, it also worked wonders for Ross and Rachel, as it added to their already complicated, on/off relationship. It’s hard to imagine how the series would have gone without the Rachel/Emily mix-up, although Emily wouldn’t have stayed for long for the aforementioned reason. The Ross and Emily relationship would have had a different ending that could or could have not involved Rachel somehow – and, who knows, it might have affected Monica and Chandler’s relationship as well. It’s a chain reaction kind of thing, but fans can thank David Schwimmer for accidentally providing one of the most memorable moments in Friends.

Next: Friends: The Characters' Ages (& How They Get It Wrong)