someone may be sentenced by a judge