Distracted driving law in effect beginning January 1