During the years from 1934 to 1968, the Motion Picture Production Code, usually called the Hays Code, stifled filmmakers or made them creative when it came to sexuality. The code stated that "any inference of sex perversion," including homosexuality, was prohibited. Films could be made if nothing was overt and if queer characters were not presented positively. It should be noted that this was not government censorship; the restrictions were self-imposed by the movie industry itself – but out of concern that if they didn't act the government might impose regulations on the industry. By the sixties, the code was routinely was being tested.