the testimony was done by the judge