Public high schools in California will be required to teach students about affirmative sexual consent under a bill signed Thursday by Governor Jerry Brown.

The measure, SB 695 by Senate leader Kevin de León, D- Los Angeles, is designed to prevent sexual assaults. Affirmative consent replaces the “no means no” refrain with “yes means yes.” It requires clear, unambiguous consent by each party before sex.

It is now the standard used on California college campuses when investigating reported sexual assaults.

Also on Thursday, Brown signed AB 329, a bill that expands and makes sexual health education mandatory at public high schools. The measure, by Assemblywoman Shirley Weber, D-San Diego, adds a requirement that the instruction include information about different sexual orientations.