By the time Avengers: Endgame comes out, there will be 22 movies in the Marvel Cinematic Universe. If you’ve skipped one or two, there may be some lingering questions after watching Endgame’s first trailer.

[Warning: The following contains spoilers for Avengers: Infinity War and Ant-Man and the Wasp.]

Avengers: Endgame’s trailer sets up a surprising reveal: the surviving Avengers presumed that Scott Lang, aka Ant-Man, was killed when Thanos wiped out half of the universe’s life, only to have him turn up on their doorstep at the end of the trailer. Lang’s appearance — wildly waving his arms around and asking Captain America to let him into the makeshift Avengers headquarters — is to the great surprise of just about everyone.

Ant-Man didn’t appear in Avengers: Infinity War, which could explain why heroes like Captain America, Black Widow, and Bruce Banner (the Hulk is also MIA) are shocked to learn that Lang survived. But Lang’s appearance won’t be surprising to anyone who watched Ant-Man and the Wasp, which arrived after Avengers: Infinity War.

“We’re in the endgame now.”

A post-credits scene from Ant-Man and the Wasp explains that while other people on Earth were shattering into dust following Thanos’ snap, Ant-Man was in the quantum realm. Ant-Man may not have been killed by Thanos’ snap — officially referred to as the Decimation, according to Marvel Comics — possibly because he wasn’t within the universe at the time.

Now, and there’s still a sense of disbelief over these next few words, but Ant-Man could be key to saving the world. Doctor Strange noted in Infinity War there was only one way this could play out, and Ant-Man’s time spent in the quantum realm certainly seems like a part of that. Doctor Strange did see into the future — and he did give Thanos the Infinity Stone for a reason, saying that they were “in the endgame now.” Endgame will also likely rope in Captain Marvel and her space-traveling powers, so while everything may not rest on Ant-Man, he certainly has a bigger role than many of us may have originally thought.

There are only a few ways that Ant-Man could have escaped from the quantum realm after Hank, Janet, and Hope, who are reunited in the film, are decimated. Someone with knowledge of quantum realms, like Ava Starr / Ghost or Tony Stark (although he seems to be a bit busy being stranded in space) could potentially help with that. The Infinity Stones could reverse elements of time and space to bring Lang back, but it seems unlikely Thanos would do that.

This leaves another possibility: time vortexes. While Lang is exploring the quantum realm, he’s warned to look out for time vortexes, whose name implies that if he passes through, could reconfigure time itself. This means when Lang teams up with the Avengers — or the remaining Avengers — they could use those time vortexes to reverse time and save the population from devastation.

Now, the issue with Avengers trailers — or any movie trailer — is you can’t trust them. Remember that the Hulk starred in Avengers: Infinity War’s trailers and then never appeared in the actual film. This could just be a cool gesture to throw fans from guessing what’s going to happen — like we are — but this does help to explain how the Avengers could possibly defeat Thanos going forward.

It seems that to properly understand Avengers: Endgame, people are going to have to settle in and revisit Ant-Man and the Wasp. Who could have predicted that?

Avengers: Endgame will be released on April 26th, 2019.