 Shulgin set up a chemical synthesis laboratory in a small building behind his house, which gave him a great deal of career autonomy.Shulgin used this freedom to synthesize and test the effects of potentially psychoactive drugs.In 1976, Shulgin was introduced to MDMA by a student in the medicinal chemistry group he advised at San Francisco State University.