a judge decides the outcome of a trial