The California senate has passed a bill that could help ensure that parents vaccinate their children, months after a measles outbreak in the state linked to low vaccination rates.

The bill, which passed the senate 25 to 10, would prohibit parents from not vaccinating their kids for religious or philosophical beliefs, public radio station KPCC reports. The bill now moves on the state assembly. If it eventually becomes law, California would become the 32nd state to ban such exemptions from vaccines.

The bill comes only a few months after a measles outbreak which infected 169 people from 20 states was traced back to a Disneyland theme park in the state. Researchers point to low vaccination rates as the reason for the outbreak.

Opponents of the bill argues it goes against parents’ rights to make decisions about their children’s health. Kids who can’t be vaccinated for medical reasons would still be exempt.

Get our Health Newsletter. Sign up to receive the latest health and science news, plus answers to wellness questions and expert tips. Please enter a valid email address. Sign Up Now Check the box if you do not wish to receive promotional offers via email from TIME. You can unsubscribe at any time. By signing up you are agreeing to our Terms of Use and Privacy Policy . This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. Thank you! For your security, we've sent a confirmation email to the address you entered. Click the link to confirm your subscription and begin receiving our newsletters. If you don't get the confirmation within 10 minutes, please check your spam folder.

Contact us at letters@time.com.