[1, 2] The waiver of trial by jury invested Judge Hobgood with the dual capacity of judge and juror. Reid v. Johnston, 241 N.C. 201, *7585 S.E. 2d 114. Consequently, it was in Judge Hobgood’s province to determine the credibility of the witnesses and the weight to be attached to their testimony, and the inferences legitimately to be drawn therefrom, in exactly the same sense that a jury would do in the trial of a case. It was Judge Hobgood’s right and duty to consider and weigh all the competent evidence before him, giving to it such probative value as in his sound discretion and opinion it was entitled to be given. Trust Co. v. Lumber Co., 221 N.C. 89, 19 S.E. 2d 138; 89 C.J.S., Trial, § 593; 53 Am. Jur., Trial, § 1123.
 When a trial by jury is waived, and where different reasonable inferences can be drawn from the evidence, the determination of which reasonable inferences shall be drawn is for the trial judge. Turnage Co. v. Morton, 240 N.C. 94, 81 S.E. 2d 135.
In Main Realty Co. v. Blackstone Valley Gas & E. Co., 59 R.I. 29, 193 A. 879, 112 A.L.R. 744, the court said: “In reaching his conclusions, the trial justice had the benefit of seeing and hearing the witnesses. He also was entitled to consider all the evidence and to draw therefrom such inferences as were reasonable and proper under the circumstances, even though another different inference, equally reasonable, might also be drawn therefrom.”
 The first assignments of error brought forward in defendant’s brief relate to finding of facts No. 7 and conclusions of law No. 2 which are as follows:
“7. That W. S. Ward’s instruction to the defendant to submit to plaintiff the invoice identified as defendant’s Exhibit 3 was not authorized by plaintiff corporation, and that plaintiff corporation did not receive any property or other consideration from the defendant corporation to support said invoice.
*• * *
“2. That in the transactions involved, W. S. Ward was acting for his personal interest, and that his actions were not authorized by plaintiff corporation and were not binding on plaintiff corporation.”
Defendant contends that his assignments of error relating to the foregoing finding and conclusion pose the question: “Did W. S. Ward have authority to make a contract on behalf of plaintiff corporation for purchase of electrical materials from defendant?” We do not agree that this is the question raised by the assignments of error.
Plaintiff did not contend that in proper instances Ward did not have authority to purchase electrical equipment and transact other *76business in the name and on behalf of the plaintiff. But, plaintiff strenuously contended that in the particular transaction set forth in defendant’s answer, Ward was acting at all times in his individual capacity, with the full knowledge of defendant, and that under those circumstances plaintiff was not bound by any part of the transaction beneficial to Ward or defendant and detrimental to plaintiff.
Our only responsibility on this appeal is to determine if the conclusions of law made by Judge Hobgood are supported by findings of fact based upon competent evidence.
The burden of proof in the trial of this action was on defendant, and oral and documentary testimony was introduced by defendant and plaintiff. It is elementary that Judge Hobgood could believe all of the testimony, none of the testimony, or such portions as he saw fit.
Finding of fact No. 7 is supported by competent evidence. Edward Pearce, vice-president of plaintiff from 1965 to 1967, testified without objection that Ward told him that the $1800.00 invoice was a “side deal” between him and defendant and there was not any equipment to support the invoice. The written contract between Ward and defendant listed only the equipment which was sold to Decker & Reynolds. All other testimony regarding the purpose of the $1800.00 invoice was oral, and Judge Hobgood was the “trier of the facts.” Finding of fact No. 7 was supported by the evidence, and! conclusion of law No. 2 was supported by the findings of fact.
£4] Defendant’s next assignments of error relate to finding of. fact No. 4 which is as follows:
“4. That the merchandise which the defendant alleges it sold' to plaintiff under its invoice identified as defendant’s Exhibit 3 was never in fact owned by defendant, but was merchandise off-loaded at defendant’s business site from trucks owned by the plaintiff and was in fact property which plaintiff had purchased and paid for from the site of the New York World’s Fair.”
Defendant contends that there is no competent evidence to support this finding of fact. We disagree. Several witnesses testified that during 1966, Ward, on behalf of plaintiff, purchased large quantities of electrical equipment at the old World’s Fair site in New York and removed the same to Raleigh. There was also evidence that the refrigeration equipment embraced in the agreement between Ward and defendant was purchased from a firm demolishing the New Western Hotel in New York City. Thomas A. LaFerire, witness for plaintiff, testified that he was a truck driver for plaintiff in 1966 *77and was the only driver of the plaintiff’s tractor-trailer; that in 1966 he picked up some electrical equipment at the World’s Fair site and then picked up a large portion of the refrigeration equipment at the New Western Hotel site; that he delivered all of said equipment picked up at both sites to defendant’s premises in Raleigh. He testified that he made a second trip to New York, getting a few items at the World’s Fair site and picking up the balance of the refrigeration equipment at the hotel site and that the entire load was delivered to defendant’s premises in Raleigh.
In his testimony, Edward Pearce (identified above) testified that the air-conditioning equipment was purchased from the hotel site in New York while the electrical equipment was purchased from the World’s Fair and that plaintiff paid for the equipment purchased from the World’s Fair. The testimony showed that certain electrical equipment was removed from defendant’s premises in Raleigh to plaintiff’s premises, but the evidence was very conflicting as to the quantity of said equipment; Pearce testified that the small quantity of electrical equipment which plaintiff received from defendant “looked like” the same equipment which the plaintiff had purchased from the World’s Fair. Again, Judge Hobgood was the trier of the facts and there was testimony sufficient to support his findings.
 Defendant’s next assignment of error relates to finding of fact No. 5 which is as follows:
“5. That defendant by submitting its invoice identified as defendant’s Exhibit 3 to plaintiff was attempting to collect from plaintiff the profit on its joint venture with W. S. Ward personally.”
Finding of fact No. 5 was amply supported by the evidence, particularly the testimony of Edward Pearce.
 Defendant contends that there is not competent evidence to support the court’s findings of fact that the contract between Ward and defendant described all the property covered by the joint venture between defendant and Ward. Again, Judge Hobgood had the authority to believe all, any, or none of the testimony. The record contains ample evidence to support these findings.
 Finally, defendant contends that there was competent evidence to support the court’s finding of fact that defendant knew or should have known that Ward was acting in his personal interest and against the interest of plaintiff corporation in the transactions described in the pleadings. This contention is completely without merit as the very basis for defendant’s counterclaim was a contract allegedly *78entered into between Ward, individually, and defendant. From the beginning, defendant knew that it was dealing with Ward as an individual and not with plaintiff corporation. The evidence was more than sufficient to support Judge Hobgood’s findings.
We have carefully considered each of defendant’s assignments of error and we find no merit in them. They are, therefore, overruled.
The judgment of the Superior Court is
Campbell and Morris, JJ., concur.