delivered the opinion of the court:
This is an appeal by defendant, Kurt A. Netznik, from the judgment entered by the circuit court of Saline County upon negotiated pleas of guilty to three counts of burglary. Defendant сontends on appeal that count I of the information charging burglary by unlawful entry of a tent is void on the grounds that a tent is not a “building” as that term is used in section 19 — 1(a) of the Criminal Code of 1961 (Ill. Rev. Stat. 1977, ch. 38, par. 19 — 1(a)). Defendant further argues that the alleged insufficiency of count I is a jurisdictional question not waived by his voluntary guilty pleas and that all three оf the convictions herein must be vacated.
Count I of the information charged that on April 27,1977, defendant “without authority, knowingly entered a tent belonging to William Van Hoesen, lоcated at Camp Site #4 of Garden of Gods, ° ” e with the intent to commit therein a theft.” Count II charged that on April 30, 1977, defendant “without authority, knowingly entered a tent and camper vehicle belonging to Byron Fortney, located at Camp Site #1 of Garden of Gods, * ° * with the intent to commit therein a theft.” Count III charged that on April 30,1977, defendant “without authоrity, knowingly entered a Ford Van, belonging to Stephen H. Kaufman, located at Camp Site #3, in Garden of Gods, ” ° # with the intent to commit therein a theft.”
A preliminary hearing was held at the close of which defendant argued that neither a tent as alleged in count I nor a camper-trailer as alleged in count II fall within the scope of sectiоn 19 — 1(a) of the Criminal Code. The court found against defendant on this argument without prejudice to defendant again raising the issue by subsequent motion. Thereafter, however, on Mаy 11, 1977, the court was informed that pursuant to negotiations, the defendant agreed to plead guilty to each of the three counts as charged in exchange for а recommendation by the State for concurrent sentences of l)i to 4/2 years imprisonment for each offense. The court, after determining the voluntariness of the guilty pleas, accepted them and imposed the agreed-upon sentences.
On May 23, 1977, defendant filed a motion to withdraw the pleas of guilty as to “Counts I and II only,” on the same grounds previously raised. Following a hearing, the court denied the motion and this appeal follows. In this appeal, the question of the sufficiency of count II has not been raised.
We turn first to the questions raised by the parties concerning waiver. Both the State and defendant start with the general rule that a voluntary pleа of guilty waives all defects which are not jurisdictional. (People v. Ondrey,
Neither defendant nor the State, in their arguments, have taken into consideration the application of Supreme Court Rule 604(d) (Ill. Rev. Stat. 1977, ch. 110A, par. 604(d)) to the instant case. Both Ondrey, which states the original waiver rule, and Bassin were based upon facts arising before the adoption of the rule in 1975. Rule 604(d) provides that as a prerequisitе to an appeal from a judgment entered upon a guilty plea, a defendant must file a written motion to withdraw the plea of guilty and vacate judgment, stating all his contentions of error. The rule further provides for a fair, orderly and expeditious proceeding on such motion and it requires that any issue not raised in the motion “shall be dеemed waived.”
There can be no doubt that Rule 604(d) is controlling here. Furthermore, the question of jurisdiction does not here arise because the error alleged had been specifically preserved in defendant’s 604(d) motion. We therefore find no waiver as to the primary issue raised.
We note, however, that defendant now further asserts that he had “entered a negotiated plea to all three counts” and thus requests this court to vacate and remand all three convictions. In his 604(d) motion, defendant had not alleged that the negotiated agreement was an inseparable whole, but rather he had moved to withdraw his guilty pleas as to “Counts I and II only.” Consequently, we conclude that each guilty plea was the result of a separate plea bargain and we deem any question to the contrary to be waived.
We turn then tо consider the merits of defendant’s contention. The crux of his argument is that a tent is not a “building” within the meaning of the word as used in section 19 — 1(a) because a tent lacks permanency. Section 19 — 1(a) provides:
“A person commits burglary when without authority he knowingly enters or without authority remains within a building, housetrailer, watercraft, aircraft, motor vehicle as defined in The Illinois Vehicle Code, railroad car, or any part thereof, with intent to commit therein a felony or theft. * * Ill. Rev. Stat. 1977, ch. 38, par. 19 — 1(a).
In People v. Blair,
In the case before us, the information and factual basis underlying defendant’s guilty plea to count I sufficiently established that the tent which defendant unlawfully entered had been erected and was then in use as а shelter for the property of William Van Hoesen. As such, it was a building within the contemplation of the statute.
Accordingly, for the foregoing reasons, the judgment entered by the circuit court of Saline County is affirmed.
Affirmed.
KARNS and KUNCE, JJ., concur.
