The Production Code was officially scrapped in 1968, to be replaced by the first version of the modern rating system. That year, two horror films came out that heralded directions American cinema would take in the next decade, with major consequences for the B movie. One was a high-budget Paramount production, directed by the celebrated Roman Polanski. Produced by B horror veteran William Castle, "Rosemary's Baby" was the first upscale Hollywood picture in the genre in three decades. It was a critical success and the year's seventh-biggest hit. The other was George A. Romero's "Night of the Living Dead", produced on weekends in and around Pittsburgh for $114,000. Building on the achievement of B genre predecessors like "Invasion of the Body Snatchers" in its subtextual exploration of social and political issues, it doubled as a highly effective thriller and an incisive allegory for both the Vietnam War and domestic racial conflicts. Its greatest influence, though, derived from its clever subversion of genre clichés and the connection made between its exploitation-style imagery, low-cost, truly independent means of production, and high profitability. With the Code gone and the X rating established, major studio A films like "Midnight Cowboy" could now show "adult" imagery, while the market for increasingly hardcore pornography exploded. In this transformed commercial context, work like Russ Meyer's gained a new legitimacy. In 1969, for the first time a Meyer film, "Finders Keepers, Lovers Weepers!", was reviewed in "The New York Times". Soon, Corman was creating nudity-filled sexploitation pictures such as "Private Duty Nurses" (1971) and "Women in Cages" (1971).