a judge can decide whether the defendant is innocent or guilty