On Monday, the Food and Drug Administration announced that it is ending its 30 year ban on blood donations from gay men. Sort of.

Now gay men are allowed to donate blood—but only if they aren’t actually having sex with other men. The new policy enacts a donor deferral for over a year after the last sexual encounter.

A press release issued about the decision emphasizes that the new policy came about after the FDA looked into “scientific evidence” to ensure safety and the policies other countries had in place, including the UK and Australia. The Netherlands also came to the same conclusion, enacting their own 12 month deferral system in October.

“The FDA’s responsibility is to maintain a high level of blood product safety for people whose lives depend on it,” said FDA Commissioner Stephen Ostroff in a statement released with the announcement. “We have taken great care to ensure this policy revision is backed by sound science and continues to protect our blood supply.”

The move was met with criticism from gay rights groups who—along with the medical community—have been pushing against the policy for years.

“While many gay and bisexual men will be eligible to donate their blood and help save lives under this 12-month deferral, countless more will continue to be banned solely on the basis of their sexual orientation and without medical or scientific reasoning,” the National Gay Blood Drive wrote in a statement.

David Stacy from the Human Rights Campaign also denounced the discriminatory nature of the deferral.

“It continues to stigmatize gay and bisexual men,” he said to the Associated Press. “It simply cannot be justified in light of current scientific research and updated blood screening technology.”

Redditors weighed in against the update, citing inconsistencies in how sexually active straight couples are treated compared to homosexual couples.