On Aug. 7, 1985, the Val Kilmer comedy Real Genius hit theaters and defied the tropes of lowbrow teen comedies to deliver a movie with both brains and heart.

It’s a classic “kids vs. adults” story that has a team of smart but maladjusted students attending a thinly veiled version of the California Institute of Technology. They band together to take down a cabal of suits who would use their genius to create a weapon, and while the film is clearly a fantasy, it’s more rooted in reality than you might guess.

Get push notifications with news, features and more.

Here, then, are nine tidbits that Real Genius fans might not know about the 1985 film – and just might necessitate a screening in honor of its 30th anniversary.

1. The director did her homework.

Director Martha Coolidge didn’t want to make a dumb teen comedy, and consequently, before production began, she threw herself into research – about Caltech, about lasers and about the CIA. In a recent interview, Coolidge said she aimed for as much realism as one can get in a comedy.

“We brought in top-level consultants from the military, weapons development experts and universities,” Coolidge said. “We researched Caltech and MIT and based most of the stories, and the visual depiction of the school on Caltech, particularly on Dabney Hall.”

“I researched space-based laser development that was big at the time and came up with the black-money-funded research project. We met many wonderful scientists and science students, including the legendary Caltech mathematician grad who had supposedly lived in the steam tunnels,” she said. “The dorm graffiti was copied from the real graffiti in the dorm by scenic painters, and then the decorator brought in Caltech students to embellish and create more.”

2. The big, final prank necessitated three months of popcorn-popping.

William Atherton, who plays the film’s villainous Prof. Hathaway, gave an interview to the A.V. Club and explained what went into the scene in which his character’s home gets destroyed as a result of the world’s biggest serving of popcorn. It took three months’ worth of popcorn to film the scene, he said.

“[The crew] had to worry, because they had to be careful that the birds didn’t eat it, because the popcorn had to be treated so it wouldn’t combust. So there was fire retardant on it, so you didn’t want the birds to die or get high or something. So they were doing all this stuff, covering it, so the birds wouldn’t OD, and everything was going to be ecologically sound,” Atherton said. “Then they took it way out to canyon country and a subdivision that was just being built, threw it into this house that they pulled down. It was real old-fashioned stuff. Now they’d do it digitally, I guess, but in those days, you had to pop the dang popcorn and put it in a truck and schlep it out to the valley. ”

What’s Cyndi Lauper’s Favorite ’80s Song?

3. The popcorn scene wasn’t scientifically accurate, however.

Not that it should flavor your opinion of the movie, of course, but a 2009 episode of MythBusters sought to determine whether rapidly popping popcorn could actually explode a house. It couldn’t, it turns out; however, a later experiment did verify that it is possible to pop popcorn using ordinary, consumer-grade lasers.

4. There’s a real story behind the Frito-Lay contest scam.

In the film, Hollyfield (Jon Gries) uses a Frito-Lay promotional contest’s “Enter as many times as you want” rule to his advantage by sending in more than a million entries. Ten years before Real Genius hit theaters, Caltech students tried to take advantage of a similar rule in a McDonald’s prize giveaway by creating a program to tilt the odds in their favor, ultimately printing out 1.2 million entry forms that they then submitted at McDonald’s locations around Southern California. In the end, $10,000 of the $50,000 in prizes went to Caltech entrants.

Controversy followed. McDonald’s allegedly changed the rules for future giveaways, and to this day, it’s rare that you’ll see the stipulation “Enter as many times as you want” in the rules for any prize giveaway.

5. The "ice-skating" scene had a real-life inspiration, too.

Val Kilmer’s character coats the dorm’s floors in ice so the students can skate inside. According to this list of Caltech references in Real Genius, the prank was inspired by a real-life tradition, “alley-surfing,” wherein the cement floors of one of the dorms would be coated in a soapy film that would allow students to skid down the hallway.

6. There’s significance to the initials "D.E.I."

The film contains references to Darlington Electronic Instruments and Drain Experts, Inc. In real life, the initials “D.E.I.” are associated with Caltech’s Dabney House, and there’s a long-running tradition to get those initials displayed as prominently as possible. According to this page, they’ve purportedly appeared in an episode of Mission: Impossible, in the names of businesses begun by Caltech alumni, at the summit of Mount Everest and on satellites and space probes manufactured at the Jet Propulsion Laboratory, which is managed by Caltech.

7. There’s a Disney Afternoon connection.

Jordan (Michelle Meyrink), the group’s sole female nerd, helped bring about a similarly technologically adept character on the Disney animated show Chip ‘n Dale: Rescue Rangers. Gadget, the mouse inventor and the only female member of that show’s main team, was inspired by Jordan, explained Rescue Rangers writer and producer Tad Stones in a 1991 interview.

8. It was one of the first movies ever to be promoted using the Internet.

According to Film School Rejects, Coolidge and other members of the film’s crew held a promotional press conference for Real Genius via CompuServe. Entertainment writers submitted questions digitally. This may not sound impressive in 2015, but when you consider that this happened in 1985, it must have seemed like the world of the future.

9. It’s one of the more successful comedies directed by a woman.