As Marvel fans the world over take in Netflix’s Jessica Jones this weekend, newfound fans of Jessica’s best friend Patsy “Trish” Walker (Rachael Taylor) may be surprised to learn that the series almost featured Carol Danvers instead, better known as our future Captain Marvel.

The original Alias comics featured much stronger ties with the Marvel superheroes around her, particularly in Jessica’s costumed origins, though the character notably shared a close friendship with then-Ms. Marvel Carol Danvers, current holder of the Captain Marvel title, and soon to headline her own Marvel Cinematic Universe film. And where Marvel understandably paired Netflix’s Jessica with a character less tethered to their cinematic plans in Trish, showrunner Melissa Rosenberg originally had different plans.

Having originally developed the series for an ABC launch (and likely outside of the MCU) Rosenberg spoke to IGN of the original plan to include Carol, as well as a much stronger superhero presence all around:

Back when it was at ABC Network, I did use Carol Danvers. But between then and when it ended up on Netflix, you know, the MCU shifted, and it also shifted away from the universe in the [comic] book. So in the book, the powers are very out in the open and the themes of that are about ‘the other,’ and in the cinematic universe that’s not the mythology. So there was a lot that I had to move away from, just in terms of sheer plot, and Carol Danvers got her own movie.

But as it turned out, Patsy Walker ended up being an incredibly—a much more appropriate fit with Jessica. It was better that her best friend was not someone with powers. It actually ends up being a really great mirror for her.

And while fans eagerly await Captain Marvel’s MCU debut, the character has notably been pushed back on multiple occasions outside of Jessica Jones. Not only did Joss Whedon nix a cameo in The Avengers: Age of Ultron, but the film itself was pushed back in the wake of Tom Holland’s Spider-Man joining the MCU, and again by announcements of an Ant-Man sequel.

It’s not hard to imagine that Carol Danvers might have pulled focus from the more grounded stakes of Netflix’s Jessica Jones as we know it, or perhaps pressed Marvel into casting an actor much sooner than the movie requires. In any case, this weekend should cement that Jessica Jones turned out exactly as it should have.

Check Out 100 TV Facts You May Not Know!