a judge has the duty to uphold the law and discover the truth