It’s hard to believe that Stanley Kubrick, the personification of the auteur theory, left us almost 18 years ago at the ripe, young (by today’s standards) age of 70. His career began with a self-described amateurish feature, 1953’s Fear and Desire—a war film which, in 2012, Village Voice critic Tim Grierson described as a “pretentious, muddled mess”—and culminated with his final film, 1999’s Eyes Wide Shut. Over the course of a film career than spanned nearly 50 years, Kubrick directed just 13 features—which was a testament to the filmmaker's reputation as a consummate perfectionist and stickler for even the smallest of details. Here are 15 facts that you might not have known about some of your favorite Stanley Kubrick films.

1. IT TOOK 167 DAYS TO FILM AND ABOUT 10,500 PEOPLE TO MAKE SPARTACUS.

Spartacus (1960) was epic in every way: its $12 million production budget made it the most expensive movie in Hollywood history at the time. Its budget ended up exceeding the total worth of Universal Studios, which was sold to MCA for $11,250,000 during filming. Overall about 50,000 extras were involved.

2. DR. STRANGELOVE WAS SUPPOSED TO BE A DRAMA.

The international climate of the early 1960s piqued Kubrick’s interest in writing and directing a nuclear war thriller. Kubrick began consuming piles of literature on the topic until he came across former Royal Air Force officer Peter George’s dramatic novel Red Alert. Columbia Pictures optioned the book, and Kubrick began translating the bulk of the novel into a script.

During the writing process, however, the director found himself struggling to escape a persistent comedic overtone because he found the vast majority of the political calamities described in the story to be inherently funny. Eventually, Kubrick abandoned the idea of fighting the adaptation’s dark sense of humor and embraced it wholeheartedly. Tone aside, the plot of Dr. Strangelove is strikingly similar to that of George’s novel. There’s one notable exception: Dr. Strangelove doesn’t appear in the novel—Kubrick and writer Terry Southern created the character.

3. KUBRICK HAD A LITTLE HELP FROM CARL SAGAN ON 2001: A SPACE ODYSSEY.

Kubrick began principal production on 2001: A Space Odyssey without knowing how to convey many of the film’s key scenes—most notably the ending, where Dr. Dave Bowman makes contact with extraterrestrial life. One of the biggest problems Kubrick had while developing the movie was how to depict these extraterrestrial life forms in a way that suited his abstract ideas, but could also be covered by the film’s budget. So he asked noted astrophysicist/author Carl Sagan for help.

In his book The Cosmic Connection: An Extraterrestrial Perspective, Sagan explained, “I argued that the number of individually unlikely events in the evolutionary history of Man was so great that nothing like us is ever likely to evolve again anywhere in the universe. I suggested that any explicit representation of an advanced extraterrestrial being was bound to have at least an element of falseness about it, and that the best solution would be to suggest, rather than explicitly to display, the extraterrestrials.”

Though Kubrick would experiment with literal ways to show aliens in 2001, like hiring a ballet dancer in a special polka-dotted suit filmed against a black background, he settled on Sagan’s insinuation of extraterrestrials.

4. KUBRICK WASN'T INITIALLY SOLD ON DIRECTING A CLOCKWORK ORANGE.

The director first encountered Anthony Burgess's novel A Clockwork Orange when his Dr. Strangelove co-screenwriter Terry Southern gave him a copy on the set of that film. Southern enjoyed the biting black humor of the book, and thought Kubrick should consider adapting it into a movie. Kubrick allegedly didn't like the book upon first reading because of the Nadsat language Burgess created for the novel. The language, literally translated as the Russian word for "teen" and comprised of Russian and Cockney rhyming slang, was confusing to Kubrick until he revisited the source material after his efforts to make a biopic about Napoleon fell through. Kubrick reportedly began to change his mind when he considered Alex as a Richard III-type character.

5. STEPHEN KING DIDN’T LIKE THE SHINING.

“I’d admired Kubrick for a long time and had great expectations for the project, but I was deeply disappointed in the end result," Stephen King told Playboy in 1983. "Parts of the film are chilling, charged with a relentlessly claustrophobic terror, but others fell flat.”

He didn’t like the casting of Jack Nicholson either, claiming, “Jack Nicholson, though a fine actor, was all wrong for the part. His last big role had been in One Flew Over the Cuckoo’s Nest, and between that and the manic grin, the audience automatically identified him as a loony from the first scene. But the book is about Jack Torrance’s gradual descent into madness through the malign influence of the Overlook—if the guy is nuts to begin with, then the entire tragedy of his downfall is wasted.”

6. KUBRICK GOT SPECIAL LENSES SO HE COULD FILM BARRY LYNDON BY CANDLELIGHT.

All period dramas feature rooms that appear to be lit by candles and oil lamps, but in reality there are usually big lighting rigs just off camera. That wasn’t the case with Barry Lyndon. Kubrick and cinematographer John Alcott wanted to use as little electric light in the production as possible, and went so far as to get special lenses that had been designed for NASA, which he had specially mounted on cameras that could then be used only with those lenses. The super-fast lenses captured rooms lit only by candlelight perfectly, creating a look unlike any other film.

7. VINCENT D’ONOFRIO GAINED 70 POUNDS TO PLAY LEONARD "GOMER PYLE" LAWRENCE IN FULL METAL JACKET.

In addition to the weight gain, Vincent D'Onofrio also shaved his head for the role, and was surprised by how much it affected him. ''It changed my life,'' D'Onofrio told The New York Times in 1987. ''Women didn't look at me; most of the time I was looking at their backs as they were running away. People used to say things to me twice, because they thought I was stupid.'' To this day, it's the most weight any actor has ever gained for a movie role.

8. EYES WIDE SHUT IS BASED ON A 1926 NOVELLA.

Eyes Wide Shut is loosely is based on Arthur Schnitzler’s novella Traumnovelle (Dream Story), which was published in 1926. Considering that the movie takes place in 1990s New York, it is obviously not a direct adaptation, but it overlaps in its plot and themes. “[The book] explores the sexual ambivalence of a happy marriage and tries to equate the importance of sexual dreams and might-have-beens with reality,” Kubrick explained. “The book opposes the real adventures of a husband and the fantasy adventures of his wife, and asks the question: is there a serious difference between dreaming a sexual adventure, and actually having one?”

9. KUBRICK LIED TO GEORGE C. SCOTT IN ORDER TO GET FUNNIER TAKES IN DR. STRANGELOVE.

George C. Scott—who plays bombastic General Buck Turgidson in Dr. Strangelove—was hesitant about playing his character too “big.” Kubrick coaxed Scott to deliver broad, animated performances as Buck, promising him that they were merely an exercise and would not be used in the final cut. Of course, the takes that went to print were among the actor’s wackiest. Scott felt terribly betrayed, and vowed never to work with Kubrick again. Although Dr. Strangelove remained their sole collaboration, Scott did eventually come to appreciate the film and his performance.

10. KUBRICK PULLED A CLOCKWORK ORANGE FROM THEATERS IN ENGLAND BECAUSE OF DEATH THREATS.

The press blamed the violence in A Clockwork Orange for a series of alleged copycat break-ins and killings in the UK in the early 1970s, prompting calls for it to be banned. The film remained in theaters and available for distribution until an incident caused Kubrick to request that Warner Bros. pull the movie from UK cinemas.

While on the Ireland set of his next film, Barry Lyndon, Kubrick received death threats against him and his family. The perpetrators promised to break into their secluded house outside of London to carry out attacks just like Alex and his droogs do in the film. Distraught, Kubrick kept the studio from publicly showing the movie in the British Isles and Ireland until after his death in 1999.

11. THERE IS AN ORIGINAL, DIFFERENT ENDING TO THE SHINING.

It’s not uncommon for a film’s ending to change in post-production, but Kubrick changed the ending of the film after it had been playing in theaters for a weekend. The film version is lost, but pages from the screenplay do exist. The scene takes place after Jack dies in the snow. Stuart Ullman (Barry Nelson) visits Wendy Torrance (Shelley Duvall) in the hospital. He tells her, “About the things you saw at the hotel. [A lieutenant] told me they’ve really gone over the place with a fine tooth comb and they didn’t find the slightest evidence of anything at all out of the ordinary.” He also encourages Wendy and Danny to stay with him for a while. The film ends with text over black, “The Overlook Hotel would survive this tragedy, as it had so many others. It is still open each year from May 20th to September 20th. It is closed for the winter.”

12. JACK NICHOLSON IMPROVISED HIS “HEEEERE’S JOHNNY” LINE IN THE SHINING.

Jack Nicholson is responsible for the only line from The Shining to make it onto AFI’s Top 100 Movie Quotes. While filming the scene in which Jack breaks down a bathroom door with an axe, Nicholson shouted out the famous Ed McMahon line from The Tonight Show Starring Johnny Carson. The catchphrase worked and stayed in the film. Some behind-the-scenes footage, which can be seen here, shows Nicholson’s method acting before filming the iconic scene.

13. DR. STRANGELOVE INSPIRED ACTUAL CHANGES IN INTERNATIONAL POLICY.

While certain critics, politicians, and military personnel alike dismissed Dr. Strangelove as farce and fallacy, the terrifying plausibility of the events at play in the movie struck a nerve with Washington D.C. Government agencies including the Pentagon’s Scientific Advisory Committee for Ballistic Missiles examined the film and Peter George’s Red Alert as a means to qualify the likelihood and prevent a Strangelove-like scenario in the real world. As early as the mid-1960s, procedure was shifted so that no one government individual would have access to the complete code needed to unlock a nuclear weapon. By the 1970s, the Air Force began employing coded switches that would disallow the unauthorized instigation of nuclear arms, as represented by the actions of General Ripper in the film.

14. ANTHONY MICHAEL HALL WAS OFFERED THE PART OF JOKER IN FULL METAL JACKET.

Kubrick originally offered the part of Joker to Anthony Michael Hall, but an eight-month long argument about monetary compensation eventually ended the collaboration. "It was a difficult decision," said Hall of his departure from the project. "Because in that eight-month period, I read everything I could about the guy, and I was really fascinated by him. I wanted to be a part of that film, but it didn't work out. But all sorts of stories circulated, like I got on set and I was fired, or I was pissed at him for shooting too long. It's all not true."

15. KUBRICK PASSED AWAY LESS THAN A WEEK AFTER SHOWING THE STUDIO HIS CUT OF EYES WIDE SHUT.

Kubrick died less than a week after showing what would be his final cut of Eyes Wide Shut to Warner Bros. No one can say how much he would have kept editing the film. One thing that was changed after his death: bodies in the orgy scene were digitally altered so that the movie could be released with an R, rather than an NC-17, rating (although many claim that Kubrick intended to do this, too). According to Kidman, "I think Stanley would have been tinkering with it for the next 20 years. He was still tinkering with movies he made decades ago. He was never finished. It was never perfect enough."