You probably know that Logan is based on the Marvel Comics series “Old Man Logan” by Mark Millar and Steve McNiven. But did you know that Logan really came together when Hugh Jackman woke up in the middle of the night after a long conversation (and a few drinks) about Wolverine with Chappie director Neill Blomkamp? Jackman recorded a voice memo on his phone of what he wanted the movie to look like, and eventually that became Logan. That’s just one of the facts featured in the newest episode of You Think You Know Movies!

The influence of the classic Western Shane is obvious in the finished product; the characters even watch part of Shane in the film. But that wasn’t the only film that inspired James Mangold’s script; he also took elements from The Cowboys, Paper MoonThe Gauntlet, and, believe it or not, Little Miss Sunshine. Squint and you can see it in there.

You Think You Know Movies? is a ScreenCrush original series that dives deep into the cinematic worlds of your favorite movies and freeze frames a few tidbits you might not have known. We’ve already tackled Star Wars, The Avengers and Spider-Man, but this time we’ve got a big slice of Logan knowledge to share. Watch more installments of ‘You Think You Know Movies?’ below and let us know in the comments what movies we should cover next.

More From ScreenCrush