four preceding Treehouse of Horror episodes, but have not been featured since this episode. The staff also decided against the traditional continuation of featuring wraparound segments that were featured before each story in the preceding Treehouse of Horror episodes, to allow more time for the main stories. The first segment, "The Shinning", is a parody of the film The Shining. The film's director, Stanley Kubrick, had been a big influence on Mirkin, and was "one of the main reason[s] [he] wanted to be a director". Series creator Matt Groening admitted that he had not seen The Shining and most of the references to the film were entirely lost on him. Groening originally pitched the idea that Homer would travel through time in "Time and Punishment". His original idea was that the time-travel would be the result of Homer simply jamming his hand in the toaster, but it was rejected by the other writers. The first time Homer travels back in time, he was originally supposed to state "I'm the first non-fictional character to travel backwards through time". The line was later changed from "non-fictional" to "non-Brazilian". Groening was confused as to the reason for the change, since he liked the original so much. In fact, he did not even understand what the new line implied. Josh Weinstein said the line is supposed to be a non-sequitur. In Brazil, the portuguese dub changed the line to "I'm the first non-astronaut to travel backwards through time." In the scene where the Simpsons' house transforms into numerous objects, one of the original designs included the house made entirely of squirrels. The layout artist who designed it worked on the drawings for more than two days, but ultimately it was cut. To ensure their work did not go to waste, some staff members have used the drawings on Christmas cards and other studio-related notices. In another deleted scene involving an alternate Simpsons future, the family had a teenage son named Roy. Groening said that "somebody from outside the show" originally suggested the idea. The joke was later used as a sub-plot for the episode "The Itchy & Scratchy & Poochie Show", although Roy was a lodger in that episode, rather than a son. "Nightmare Cafeteria" was the first Simpsons story to be written by David X. Cohen. He wrote the final scene where a nightmarish fog turns the family inside out. This was inspired