However, many artists and filmmakers felt heavily restricted by the Code's rules which stated that films could not show such actions as: illegal drug trafficking, onscreen nudity or sex, profanity, 'white slavery', and ridicule of the clergy. Additionally, any crime shown on the screen had to be punished and couples could not be depicted sleeping in the same bed together. (Due to competition from other studios and changing social norms, the Code was eventually replaced by the film rating system we have today in 1968. While certainly not perfect, the MPAA's use of ratings does not rely on censorship, and thus allows more artistic freedom.)
A photo taken by A.L. Schafer that symbolically protests the Hays Code. It depicts several elements banned by the Code.