State lawmakers in New York said they weren’t worried about a legal challenge that could arise from a proposed law that would remove non-medical exemptions for vaccines for those attending public schools in response to an outbreak of measles in Rockland County and parts of New York City.

The response comes as Gov. Andrew Cuomo, when asked about the legislation earlier this month, called the idea of removing non-medical exemptions for vaccines “legally questionable” while decrying the spread of the disease in areas downstate.