by an episode of the radio show Lights Out called "The Dark", which frightened Cohen as a child. A dance number was added immediately afterward in order to end the show on a lighter note. He also cut two scenes from this segment featuring Sherri and Terri being cooked as "Teriyaki" steak with a "Sherry" sauce and Homer regaling Lisa about his dream of eating Milhouse. Regardless, a book from this scene was featured in this segment. As a result of this scene being cut, Homer does not appear in the third segment (not counting the final scene), something Cohen thought never happened before. The "grade F meat" joke was written by Cohen, inspired by his cousin once seeing a box of hot dogs labeled "grade C, approved for human consumption". Cultural references The voice-over in the pre-title sequence is a reference to the 1963 television series The Outer Limits. The first segment, "The Shinning", is a parody of the Stephen King novel The Shining and the Stanley Kubrick film of the same name. The basic plot of the segment is the same as the novel and there are also many references to specific moments from the film, such as the blood coming out of the elevator and Homer breaking through a door with an axe and yelling "Here's Johnny!". The segment also references John Denver Christmas specials. The title of the second segment, "Time and Punishment", is a reference to the Fyodor Dostoyevsky novel Crime and Punishment and the plot, where Homer causes major changes in the future by killing animals in the past, is a parody of the Ray Bradbury short story "A Sound of Thunder". Peabody and Sherman, from the animated series The Rocky and Bullwinkle Show, make an appearance during Homer's time traveling sequence and when, as a side effect of Homer's antics in the past, Kang and Kodos' heads are unexpectedly replaced with those of Peabody and Sherman. The dinosaur scenes are reminiscent of Jurassic Park, and the floor morphing into a television screen is a reference to similar scenes in both Terminator 2: Judgment Day and Time Bandits. The title of the third segment, "Nightmare Cafeteria", is a reference to the television series Nightmare Café, while the plot bears reference to Soylent Green. The song over the end credits is based on the song "One" from the musical A Chorus Line, while the concept