Criminal justice reform a step closer to law