In a bench trial on June 19, 1981, defendant, Jerald Philander Graham, was convicted as charged of delivery of heroin, MCL 333.7401(2)(a); MSA 14.15(7401)(2)(a), and of possession of a firearm in the commission of a felony, MCL 750.227b; MSA 28.424(2). After being sentenced to not less than 2 years nor more than 20 years in prison on the underlying felony and a consecutive 2 years on the felony-firearm charge, defendant appeals as of right._
*170The convictions arose from events of October 26, 1980, when the complainant, an undercover officer of the Detroit Police Department, appeared at defendant’s apartment to purchase heroin. According to complainant’s trial testimony, immediately after defendant and he were inside the apartment, defendant removed a revolver from his right side and pointed it at complainant’s chest. After inquiring about the identity of the person who sent complainant to make the purchase, defendant handed two packets of heroin to the undercover officer with his left hand while holding the handgun in his right hand.
Testifying on his own behalf, defendant conceded delivering the heroin to complainant but claimed that he only had possession of the firearm when he admitted complainant into the apartment. He denied holding the firearm at the time of the delivery and stated that the reason he armed himself prior to opening the door was for protection.1
On appeal, defendant raises three issues. First, he maintains that the trial judge erred in refusing to disqualify himself, upon defendant’s motion, as a result of having read the preliminary examination transcript in order to rule upon defendant’s pretrial motion to quash the felony-firearm count. Relying on People v Ramsey, 2 defendant asserts that where a trial judge sits as the trier of fact in a nonjury trial the judge must disqualify himself, upon a timely motion, if he read the preliminary examination transcript in order to rule upon a motion to quash the information.
*171In denying defendant’s pretrial motion to dismiss, the trial judge found that a factual question was raised. Contrary to defendant’s assertions, the record reflects that the trial court did not read the preliminary examination transcript:
"Mr. Elsey [defense counsel]: Your Honor, in the alternative we would ask that the court disqualify itself from being the trier of fact in this case because Mr. Graham would proceed, in denial of the motion, for a bench trial before your alternate judge.
"The Court: Wait, now bring that by me again.
"Mr. Elsey: As paragraph 2 of the motion indicated* your Honor, in the alternative Mr. Graham prays that in the event that count IV is not quashed, this honorable court disqualify itself from being the trier of fact.
"The Court: Why?
"Mr. Elsey: We would think upon reading the transcript—
"The Court: I haven’t read it.
"Mr. Elsey: How can you deny it?
"The Court: I can deny it as a matter of law.
"Mr. Elsey: This motion is based upon the transcript.
"The Court: You tole [sic] me that, I assumed that was in there, I haven’t read the transcript, I don’t have the file, I had to ask for the file.
"Mr. Elsey: I understand what the court is saying, but the . transcript, the motion speaks for itself, it says this transcript is and was requested and the motion herein is based upon said transcript as it pertains to count IV only.
"The Court: How do you get around — I have not read the transcript. You can put anything you want in the motion, you could have put in there that I read it.”
Consequently, the trial judge was not obligated to disqualify himself from hearing defendant’s case. We note that defendant did riot waive his *172right to a jury trial3 until the day of trial, six months subsequent to the hearing on his pretrial motions.4
Defendant next claims that the trial court erred in finding him guilty of the felony-firearm charge, since the evidence adduced at trial was insufficient to establish guilt beyond a reasonable doubt.
Our reading of the record convinces us that sufficient evidence was presented by the prosecutor to justify a fact-finder in reasonably concluding that defendant possessed a firearm while committing the principal offense of delivery of heroin. At trial, defendant conceded that he pointed a handgun at complainant; however, he claimed that he set the weapon down before he delivered the two packets of heroin to complainant. Since complainant testified that defendant held the handgun throughout the transaction, a question of fact was raised for the fact-finder, which was decided adversely to defendant. We conclude that the trial judge’s findings of fact were not clearly erroneous.
After considering defendant’s challenge to the felony-firearm statute as unconstitutionally infringing upon his right to bear arms,5 we find it to be without merit. A right to bear arms does not *173encompass the possession of a firearm during the commission of a felony.6
Affirmed.