A new law will require judges to go on the record regarding