Opinion by
Mr. Justice Roberts,Appellant was convicted, by a judge sitting without a jury, of carrying a concealed deadly weapon and received a sentence of two to twelve months. Post-trial motions were denied and he appealed to the Superior *93Court which affirmed per curiam without opinion. We granted allocatur.
The evidence produced at trial showed that appellant was arrested one evening on suspicion of robbery. He was frisked by police and a yellow-handled straight razor, with a folding blade approximately six inches long, was found in his coat pocket. Although he was never charged with robbery, he was charged with carrying a concealed deadly weapon. Appellant testified that he was a barber and was going to shave a customer who had injured himself and was unable to come to appellant’s barber shop. This testimony, if believed, would indicate that appellant was not guilty of the offense charged, since the statute requires the weapon to be carried “with the intent . . . unlawfully ... to do injury to any other person.” Act of June 24, 1939, P. L. 872, as amended, 18 P.S. §4416 (a) (Supp. 1969).
The trial judge had some difficulty making his decision and the following colloquy took place: “The Court: Is there any additional investigation on him at all that would be relevant to the case? Don’t read it unless it is something that should be produced. Mr. Brereton [Assistant District Attorney] : Your Honor, I have no further information. Mr. Rudovsky [Assistant Defender]: Your Honor, he has given the location of the barber shops. I just can’t think that there can be a doubt in the court’s mind in this kind of case. The Court: I think he is a barber, but this business of carrying knives and razors is very general. I’m aware of that but it doesn’t excuse him. . . . The Court: If I believe that he was going to shave somebody on that evening, that’s one thing. If I believe he is a barber, but he was carrying the razor for the same reason a lot of people carry knives, that’s something else. . . . Mr. Rudovsky: The very fact that we are again speculating on this, I just think it means a reasonable doubt. I think it’s way beyond a reasonable doubt. The Court; *94I’m going to adjudge Mm guilty. Let me see Ms record. . . . The Court [after examining record] : I just bad a feeling on tbis. I could bave decided it, perhaps, either way.... I bad a little feeling on tbis and it turns out be has a record a mile long. . . . Tbe Court: If I found that you bad no record, that your story was unquestionably time, then I could bave reconsidered my judgment and found you not guilty, but I just bad a feeling about you, that something was a little funny.”
It is clear from tbis colloquy that appellant must be given a new trial, for we cannot say that tbe trial judge properly applied tbe required standard for determining guilt. Tbe fact-finder—judge or jury—must be convinced of a defendant’s guilt beyond a reasonable doubt. Tbis decision can be rendered after bearing only properly admitted evidence and credibility can be judged only on such evidence. Tbe judge in the instant case, however, appears to bave rendered a conditional decision, one subject to change depending on tbe content of evidence not admissible for the determination of guilt—appellant’s prior criminal record. Evidently, the trial judge did bave doubt about appellant’s guilt and the doubt was dispelled only after considering appellant’s record. As such, we cannot say that tbe trier of fact was convinced by tbe admissible evidence that appellant was guilty beyond a reasonable doubt. Accordingly, appellant must be awarded a new trial so that tbe proper standard for determining guilt will be applied.
Tbe order of tbe Superior Court is reversed, tbe judgment of sentence of tbe Court of Common Pleas, Trial Division, Criminal Section, of Philadelphia, is vacated and tbe case remanded for further proceedings consistent with tbis opimon.