 The episode also contains elements of Alfred Hitchcock 's 1960 film Psycho with Sideshow Bob staying at Bates Motel . Homer surprising Bart with his new hockey mask recalls the film Friday the 13th Part III and Sideshow Bob 's tattoos on his knuckles are similar to those of Robert Mitchum 's character in The Night of the Hunter ( Mitchum also played the villain Max Cady in the original 1962 version of Cape Fear ) . While singing " Three Little Maids From School Are We " from The Mikado during the car trip to Terror Lake , Homer and Bart 's hats allude to I Love Lucy . The scene featuring Ned with his " finger razors " references the 1984 film A Nightmare on Elm Street and its villain Freddy Krueger ( with Flanders seemingly threatening Bart with the razors ) and the 1990 film Edward Scissorhands ( with Flanders actually using the razors to cut his hedge in the shape of an angel , just as Edward Scissorhands cuts a hedge in the shape of a dinosaur ) . 
