In states where recreational marijuana laws allow for its recreational use, a new study has found an increase in workplace injuries.

The study, “Recreational Marijuana Legalization and Workplace Injuries Among Younger Workers,” published by the Journal of the American Medical Association, found a correlation between workplace injuries and recreational marijuana use in workers aged 20-34.

Twenty-four states currently have recreational marijuana use laws in place.

Researchers used state-by-year workplace injury data from the Bureau of Labor Statistics Survey of Occupational Injuries and Illnesses and found a 10 percent increase in workplace injuries.

When compared to older workers, recreational marijuana use was associated with a decline in injuries. The researchers hypothesize marijuana access may aid older workers in managing pain.