The new state law goes into effect July 1