Judges must be mindful of substance abuse