Attitudes towards homosexuality and masturbation were altered by the publications of Havelock Ellis. Ellis was the first person to say in print that masturbation was normal, and did not cause any medical problems. The ideas of Sigmund Freud were also influential. He believed that people's strong instincts toward sexuality were repressed in order to meet the constraints imposed on them by civilized life.