New laws take effect on July 1