Infinity WarandAvengers 4co-screenwriter Stephen McFeely reveals thatAnt-Man and the WaspandCaptain Marvelwill have “meaningful ties” toAvengers 4. Some Marvel Cinematic Universe devotees were more than a little bummed to see that a few characters didn’t make it intoInfinity War. The news that Carol Danvers was not going to be in the third Avengers movie was confirmed last summer by Anthony Russo while he spoke at San Diego Comic-Con, but other characters were a surprise. There are SPOILERS forInfinity Warbelow, so read ahead at your own risk.

Ant-Man and Hawkeye were not featured inInfinity War, but MCU fans are speculating that they will have large roles to play in the upcomingAvengers 4. However, it hasn’t been clear ifAnt-Man and the WaspandCaptain Marvelwere going to tie into the still untitledAvengers 4until now. Screenwriter Stephen McFeely has revealed that both movies will have a relationship withAvengers 4. He had this to say.

“My hope is the conversation you and I will have a year from now, you’ll have a sense of the choices we’ve made over the course of an entire year of Marvel movies. There’s a relationship between them all.”

Stephen McFeely also talked about the challenges of makingInfinity WarandAvengers 4withAnt-Man 2andCaptain Marvelplaced in between them. The screenwriter admits that the directors of the aforementioned movies were able to make “small suggestions,” but admits that the directors ofCaptain MarvelandAnt-Man and the Waspwere able to make the “exact films” that they wanted to make. As it turns out, McFeely says that he and his partner, Christopher Markus, could have looked at the daunting task as a burden or curse. He had this to say.

“Put yourself in our positions two years ago. We’re looking at a blank wall, and it says Avengers 3,Ant-Man and the Wasp,Captain Marvel,Avengers 4. So there are four big shoeboxes, and we’re responsible for the bookends. As we’re going through deciding what we want to do, we have these two shoeboxes in the middle that you can either look at as burdens or opportunities.”

As for the decision toleave Carol Danvers outofInfinity War, Christopher Markus and Stephen McFeely also admitted that they were unsure at first. Markus spoke about not wanting to introduce theCaptain Marvelcharacter without her movie being out first. The screenwriters then explained what type of role Carol Danvers could have inAvengers 4. Markus had this to say.

“I mean, we were somewhat at sea a little bit in that… not at sea in a bad way, but her movie had not been written yet. And so you want it to all tie together. You don’t wanna write aCaptain Marvelthat bears no resemblance to one who has her own movie coming out… We took some cues from the comics.She is military, and there’s a certain authority that comes with that.”

Ant-Man and the Waspis set tohit theaters this summer, so we won’t have too much longer to wait. The movie, likeCaptain Marvel, takes place before the events inInfinity War, but it has been rumored that there will be a tease of the events inAvengers 4at the end of the movie.Captain Marvelhits theaters early next year, and then it will be time to see how it all works together in May of 2019 with the release ofAvengers 4. You can read more of the interview with Stephen McFeely and Christopher Markus atBuzzfeed.