of the Illinois statute on accountability (111. Rev. Stat. 1975, ch. 38, par. 5— 2). This section of the Criminal Code states, in pertinent part:
“A person is legally accountable for the conduct of another when:
#
(c) Either before or during the commission of an offense, and with the intent to promote or facilitate such a commission, he solicits, aids, abets, agrees or attempts to aid, such other person in the planning or commission of the offense.”
Based upon the foregoing segments of the final argument, defendant first contends that he was severely prejudiced because such argument effectively precluded the jury from even considering the substance of his defense, i.e., that he lacked the requisite intent to commit burglary. He also contends that the prejudicial effect of the prosecutor’s improper argument was amplified when the court read the accountability instruction to the jury because by so instructing the jury, the court appeared to be lending credence to the prosecutor’s assertions that the State was not obligated to prove that the defendant possessed the requisite intent to commit a burglary.
In our opinion the corut’s instruction on accountability was improperly given. As a general proposition, it is proper to instruct the jury on principal as well as accountability theories where the evidence supports both theories. (People v. Stark, 33 Ill. 2d 616, 213 N.E.2d 503.) The State, relying on Stark contends that while the overwhelming weight of evidence supports a conviction as a principal, the accountability instruction was justified in response to defendant’s claim of lack of intent to commit burglary, premising the element of intent instead upon the intent to promote or facilitate the commission of the burglary. In Stark the evidence established that only the defendant’s brother was found on the burgled premises, thus leaving defendant’s role as a direct participant unclear. However, the evidence strongly suggested that defendant was an accessory. Hence, the Illinois Supreme Court in Stark correctly decided that the accountability instruction had been properly given.
The facts of the present case are quite different from those found in Stark. Here, the defendant was found inside the burgled premises. The only evidence which might establish guilt based on an accountability theory was defendant’s providing the tools and car used in the burglary. Since these acts of defendant would also be the acts of a principal, guilt predicated on an accountability theory is proper only if the other evidence is inconclusive as to defendant’s direct participation in the crime. But when, as here, the uncontroverted evidence places defendant inside the burgled premises, the State cannot attempt to change its burden