delivered the opinion of the court:
On August 30, 1980, thе State filed a petition for adjudication of wardship alleging that Gregory Pryor, the minor, was delinquent in that he committed a robbery on or about August 29, 1980. A second petition seeking adjudication of the minor as an habitual juvenile offender was filed on September 2, 1980. On March 11, 1981, when the case was set for trial, the minor’s counsel informed the court that the State’s notice of intention to prosecute the minor as an habitual juvenile offender had not bеen filed simultaneously with the delinquency petition as required by section 5 — 12(b) of the Juvenile Court Act (Ill. Rev. Stat., 1979 Supp., ch. 37, par. 705—12(b)). The trial court thereupon dismissed the habitual juvenile offender petition because it was filed three days after the delinquency petition. The trial court took judicial noticе that the delinquency petition was filed on Saturday, August 30, 1980; that the habitual juvenile offender petition was filed on Tuesday, September 2, 1980; and that Labor Day wаs on Monday, September 1, 1980. The trial court also ordered a stay of proceedings pending the State’s appeal from that dismissal.
The sole issue raised in this appeal is whether the trial court erred in dismissing the habitual juvenile offender petition. Before reaching this issue, we must address the respondent’s argument that this appeal should be dismissed because the order dismissing the habitual juvenile petition is not appealable by the State.
Suрreme Court Rule 660(a) provides that appeals from final judgments in delinquent minor proceedings, except as otherwise specifically provided, shall be governed by the rules applicable to criminal cases. (87 Ill. 2d R. 660(a).) Generally, the State’s right to appeal in criminal cases is govеrned by Supreme Court Rule 604(a)(1) (87 Ill. 2d R. 604(a)(1)). (E.g., People v. Montgomery (1980),
The respondent also argues that the dismissal of the habitual juvenile offender petition was not a dismissal of “a charge” since the respondent still could have been prosecuted for the underlying offense of robbery in accоrdance with the delinquency petition. We believe that the dismissal of the habitual juvenile offender petition amounted to a dismissal of a charge as provided in Supreme Court Rule 604(a) (87 Ill. 2d R. 604(a)). See In re R.L.K. (1978),
The relevant portion of section 5 — 12(b) of the Juvenilе Court Act provides:
“(b) Notice to Minor. The State shall serve upon the minor written notice of intention to prosecute under the provisions of this sеction simultaneously with the filing of any delinquency petition, adjudication upon which would mandate the minor’s disposition as an Habitual Juvenile Offender.” (Ill. Rev. Stаt., 1979 Supp., ch. 37, par. 705—12(b).)
The State argues that this provision should be given a directory rather than a mandatory construction so that its failure to file the hаbitual juvenile offender petition simultaneously with the delinquency petition should not have resulted in the dismissal of the former petition.
In accordanсe with the rules of statutory construction, the word “shall” generally is regarded as mandatory, although it may be construed as meaning “may” depending upon legislative intent. (Andrews v. Foxworthy (1978),
In In re Armour (1974),
The respondent attempts to distinguish the In re Armour holding by stating that the court in that case was compelled to give the word “shall” a directory interpretation to prеvent the discharge of the minor. The respondent states that in the instant case, he still could be adjudicated a delinquent under the delinquency petition and the court could render an appropriate dispositional order. In further support of his argument for mandatory construction, the respondent notes that the word “shall” was given a mandatory interpretation with regard to the requirement that an habitual juvenile offender be committed to the Department of Corrections until the age of 21 (Ill. Rev. Stat., 1979 Supp., ch. 37, par. 705—12(a)). (See People ex rel. Carey v. Chrastka (1980),
We disagree with the respondent’s contentions. We do not believe that the holding and rationale of In re Armour should be limited to factual situations where the juvenile offender would be discharged absent a directory сonstruction of the word “shall.” We also believe that the legislative intent was to give section 5 — 12(b) a directory construction since such an interprеtation would best serve society’s interest in seeking to correct continued juvenile criminal behavior and the minor’s need for guidance and rehаbilitation. This directory interpretation is not irreconcilable with the mandatory interpretation of the sentencing provision of the habitual juvenilе offender statute since the interests of society and the welfare of the repeat juvenile offender are best served by a directory intеrpretation of the word “shall” in the context of the filing of the adjudicatory petition and by a mandatory interpretation of the word “shall” in the context of the dispositional ruling. We therefore hold that the State’s failure to file the habitual juvenile offender petition simultaneously with, or on the same date as, the delinquency petition should not have resulted in the discharge of the habitual juvenile offender petition.
For the foregoing reasons, the order of the circuit court of Cook County is reversed and the cause is remanded for further proceedings in accordance with the views expressed herein.
Reversed and remanded.
McNAMARA and RIZZI, JJ., concur.
