In Re Bls, 782 N.E.2d 217 (Ill. 2002). · Go Syfert
In Re Bls, 782 N.E.2d 217 (Ill. 2002). Cases Citing This Book View Copy Cite
194 citation events (194 in the last 25 years) across 2 distinct courts.
Strongest positive: People v. Lashley (illappct, 2016-06-30)
Treatment trajectory · 2002 → 2026 · click a year to view as-of
2002 2014 2026
Top citers, strongest first. 45 distinct citers. How cited ↗
discussed Cited as authority (verbatim quote) People v. Lashley
Ill. App. Ct. · 2016 · signal: see · quote attribution · 1 verbatim quote · confidence high
a statute is ambiguous if it is capable of more than one reasonable interpretation.
discussed Cited as authority (verbatim quote) Village of Oak Park v. Village of Oak Park Firefighters Pension Board
Ill. App. Ct. · 2005 · signal: see · quote attribution · 1 verbatim quote · confidence high
statute is ambiguous when it is capable of being understood by reasonably well-informed persons in two or more different senses
discussed Cited as authority (verbatim quote) Oak Park v. Oak Park
Ill. App. Ct. · 2005 · signal: see · quote attribution · 1 verbatim quote · confidence high
statute is ambiguous when it is capable of being understood by reasonably well-informed persons in two or more different senses
examined Cited as authority (verbatim quote) In Re Timothy T. (7×) also: Cited as authority (rule), Cited "see"
Ill. App. Ct. · 2003 · signal: see · quote attribution · 1 verbatim quote · confidence high
a statute is ambiguous when it is capable of being understood by reasonably well-informed persons in two or more different senses
examined Cited as authority (verbatim quote) In re Timothy T. (10×) also: Cited as authority (rule), Cited "see"
Ill. App. Ct. · 2003 · signal: see · quote attribution · 2 verbatim quotes · confidence high
a statute is ambiguous when it is capable of being understood by reasonably well-informed persons in two or more different senses
discussed Cited as authority (rule) People ex rel. Alvarez v. $59,914 United States Currency
Ill. · 2022 · confidence medium
See Tri-G, Inc. v. Burke, Bosselman & Weaver, 222 Ill. 2d 218, 258 (2006) (this court may affirm the appellate court on any basis presented in the record); In re B.L.S., 202 Ill. 2d 510, 520 (2002) (this court may affirm the trial court on any basis in the record).
cited Cited as authority (rule) People v. Barajas
Ill. App. Ct. · 2019 · confidence medium
In re B.L.S., 202 Ill. 2d 510, 517 (2002); see also People v. Ross, 168 Ill. 2d 347, 352 (1995) (council commentary is persuasive authority).
cited Cited as authority (rule) People v. Black in Color Leather Vest with Attached Outlaws Motorcycle Club Patches
Ill. App. Ct. · 2016 · confidence medium
In re B.L.S., 202 Ill. 2d 510, 514-15 (2002).
cited Cited as authority (rule) Veterans Assistance Comm'n of Grundy County, Illinois v. County Board of Grundy County, Illinois
Ill. App. Ct. · 2016 · confidence medium
In re B.L.S., 202 Ill. 2d 510, 515 (2002).
discussed Cited as authority (rule) In re Isaiah D.
Ill. App. Ct. · 2015 · confidence medium
Our history is replete with laws and judicial recognition that minors, especially in their earlier years, generally are less mature and responsible than adults.’ ” Id. at 380 (Freeman, J., dissenting) (quoting Eddings v. Oklahoma, 455 U.S. 104, 115-16 (1982)). ¶ 68 Keeping the vulnerability of juveniles in mind, significant changes were made to the Juvenile Court Act, and as our supreme court noted in In re A.G., 195 Ill. 2d 313, 318 (2001), now “virtually all of the constitutional requirements of a criminal trial have been introduced into juvenile delinquency proceedings.” Our suprem…
discussed Cited as authority (rule) In re Isaiah D.
Ill. App. Ct. · 2015 · confidence medium
Our history is replete with laws and judicial recognition that minors, especially in their earlier years, generally are less mature and responsible than adults.' " Id. at 380 (Freeman, J., dissenting) (quoting Eddings v. Oklahome, 455 U.S. 104, 115-16 (1982)). ¶ 68 Keeping the vulnerability of juveniles in mind, significant changes were made to the Juvenile Court Act, and as our supreme court noted in In re A.G., 195 Ill. 2d 313, 318 (2001), now "virtually all of the constitutional requirements of a criminal trial have been introduced into juvenile delinquency proceedings." Our supreme court …
cited Cited as authority (rule) The Veterans Assistance Commission of Grundy County, Illinois v. The County Board of Grundy County
Ill. App. Ct. · 2015 · confidence medium
In re B.L.S., 202 Ill. 2d 510, 515 (2002).
discussed Cited as authority (rule) Hughes v. Godinez
Ill. App. Ct. · 2014 · confidence medium
App. 3d 981, 991 , 868 N.E.2d 318, 327 (2007), this court noted that the purpose of section 5-8-7(b) of the Unified Code was to “ensure that defendants do not ultimately remain incarcerated for periods in excess of their eventual sentences.” (Internal quotation marks omitted.) To achieve that goal, section 5-8-7(b) “ ‘explicitly required that offenders receive credit against their terms of imprisonment when they are “in custody as a result of the offense for which the sentence was imposed.” ’ ” In re B.L.S., 202 Ill. 2d 510, 518 , 782 N.E.2d 217, 222 (2002) (quoting People v. R…
discussed Cited as authority (rule) Hughes v. Godinez
Ill. App. Ct. · 2014 · confidence medium
App. 3d 981, 991 , 868 N.E.2d 318, 327 (2007), this court noted that the purpose of section 5-8-7(b) of the Unified Code was to "ensure that defendants do not ultimately remain incarcerated for periods in excess of their eventual sentences." (Internal quotation marks omitted.) To achieve that goal, section 5-8-7(b) " 'explicitly required that offenders receive credit against their terms of imprisonment when they are "in custody as a result of the offense for which the sentence was imposed." ' " In re B.L.S., 202 Ill. 2d 510, 518 , 782 N.E.2d 217, 222 (2002) (quoting People v. Robinson, 172 Ill…
discussed Cited as authority (rule) In re B.C.P.
Ill. · 2013 · confidence medium
See, e.g., In re A.G., 195 Ill. 2d 313, 318 (2001) (Rule 604(d) applies in juvenile delinquency proceedings); In re B.L.S., 202 Ill. 2d 510, 518-19 (2002) (habitual juvenile offenders are entitled to receive credit for time spent in custody prior to sentencing).
cited Cited as authority (rule) Stevens v. Village of Oak Brook
Ill. App. Ct. · 2013 · confidence medium
In re B.L.S., 202 Ill. 2d 510, 514-15 (2002).
discussed Cited as authority (rule) Carter v. SSC Odin Operating Company
Ill. · 2012 · confidence medium
Rather, the language in each section of the statute must be examined in light of the statute as a whole (id.), which is construed in conjunction with other statutes touching on the same or related subjects (In re B.L.S., 202 Ill. 2d 510, 515 (2002)).
discussed Cited as authority (rule) In re Darius L.
Ill. App. Ct. · 2012 · confidence medium
Holly v. Montes, 231 Ill. 2d 153, 158 , 896 N.E.2d 267, 271 (2008). ¶ 22 In our case, the first element is satisfied as respondent’s appeal involves a question of available sentencing credit, undeniably presenting a question of public importance (see J.T., 221 Ill. 2d at 350-51 , 851 N.E.2d at 8 ; In re B.L.S., 202 Ill. 2d 510, 519 , 782 N.E.2d 217, 223 (2002) (an incarcerated juvenile’s liberty is restrained just as effectively as that of an adult -5- offender)).
discussed Cited as authority (rule) In re Christopher P.
Ill. App. Ct. · 2012 · confidence medium
Holly v. Montes, 231 Ill. 2d 153, 158 , 896 N.E.2d 267, 271 (2008). ¶ 21 In our case, the first element is satisfied as respondent’s appeal involves a question of available sentencing credit, undeniably presenting a question of public importance (see J.T., 221 Ill. 2d at 350-51 , 851 N.E.2d at 8 ; In re B.L.S., 202 Ill. 2d 510, 519 , 782 N.E.2d 217, 223 (2002) (an incarcerated juvenile’s liberty is restrained just as effectively as that of an adult offender)).
discussed Cited as authority (rule) In re: Shelby R.
Ill. App. Ct. · 2012 · confidence medium
Respondent’s appeal involves the question of how long a minor should be incarcerated, undeniably presenting a question of public importance (J.T., 221 Ill. 2d at 350-51 , 851 N.E.2d at 8 ; In re B.L.S., 202 Ill. 2d 510, 519 , 782 N.E.2d 217, 223 (2002) (an incarcerated juvenile’s liberty is restrained just as effectively as that of an adult offender)).
cited Cited as authority (rule) Wilkins v. Williams
Ill. App. Ct. · 2012 · confidence medium
In re B.L.S., 202 Ill. 2d 510, 514 (2002).
discussed Cited as authority (rule) People v. Angelique E.
Ill. App. Ct. · 2009 · confidence medium
“The primary purpose of statutory construction is to determine and give effect to the legislature’s intent, while presuming the legislature did not intend to create absurd, inconvenient, or unjust results.” In re B.L.S., 202 Ill. 2d 510, 514-15 (2002).
cited Cited as authority (rule) In re Objections to Tax Levies of Freeport School District No. 145
Ill. App. Ct. · 2007 · confidence medium
In re B.L.S., 202 Ill. 2d 510, 517 (2002).
cited Cited as authority (rule) Dusthimer v. The Board of Tustees of the University of Illinois
Ill. App. Ct. · 2006 · confidence medium
In re B.L.S., 202 Ill. 2d 510, 517 , 782 N.E.2d 217, 222 (2002); In re Timothy T., 343 Ill.
discussed Cited as authority (rule) Dusthimer v. Board of Trustees (2×)
Ill. App. Ct. · 2006 · confidence medium
Dec. 23 , 782 N.E.2d 217, 222 (2002); In re Timothy T., 343 Ill.App.3d 1260, 1263 , 279 Ill.Dec. 191 , 799 N.E.2d 994, 997 (2003).
cited Cited as authority (rule) People v. M.T.
Ill. · 2006 · confidence medium
In re B.L.S., 202 Ill. 2d 510, 514 (2002).
examined Cited as authority (rule) People v. J.T. (6×) also: Cited "see, e.g."
Ill. · 2006 · confidence medium
In affirming the decision in B.L.S., this court noted that “[n]o thing in the Code restricts [application of the credit against sentence requirement of] section 5 — 8— 7(b) to adult offenders” and that there was “no rationale for denying a juvenile credit against a determinate sentence for time spent in predisposition custody.” In re B.L.S., 202 Ill. 2d 510, 518 (2002).
cited Cited as authority (rule) People v. Norwood
Ill. App. Ct. · 2005 · confidence medium
In re B.L.S., 202 Ill. 2d 510, 515 (2002).
cited Cited as authority (rule) People v. Norwood
Ill. App. Ct. · 2005 · confidence medium
In re B.L.S. , 202 Ill. 2d 510, 515 (2002).
discussed Cited as authority (rule) People v. K.S. (2×)
Ill. App. Ct. · 2004 · confidence medium
While the court expressly stated that the issue before it was confined to whether a habitual juvenile offender sentenced to a determinate term is entitled to receive a credit for predisposition detention (In re B.L.S., 202 Ill. 2d at 516, 782 N.E.2d at 221), this court believes that certain statements made by the court in In re B.L.S. allow this court to grant the respondent in the case at bar a credit for time she spent in detention.
discussed Cited as authority (rule) In Re KS
Ill. App. Ct. · 2004 · confidence medium
While the court expressly stated that the issue before it was confined to whether a habitual juvenile offender sentenced to a determinate term is entitled to receive a credit for predisposition detention ( In re B.L.S., 202 Ill.2d at 516, 270 Ill.Dec. 23 , 782 N.E.2d at 221 ), this court believes that certain statements made by the court in In re B.L.S. allows this court to grant the respondent in the case at bar a credit for time she spent in detention.
cited Cited as authority (rule) People v. Campobello
Ill. App. Ct. · 2004 · confidence medium
In re B.L.S. , 202 Ill. 2d 510, 514-15 (2002).
cited Cited as authority (rule) People v. Campobello
Ill. App. Ct. · 2004 · confidence medium
In re B.L.S., 202 Ill. 2d 510, 514-15 (2002).
cited Cited as authority (rule) Village of Lake Villa v. Bransley
Ill. App. Ct. · 2004 · confidence medium
In re B.L.S. , 202 Ill. 2d 510, 514-15 (2002).
cited Cited as authority (rule) Village of Lake Villa v. Bransley
Ill. App. Ct. · 2004 · confidence medium
In re B.L.S., 202 Ill. 2d 510, 514-15 (2002).
cited Cited as authority (rule) People v. M.T.
Ill. App. Ct. · 2004 · confidence medium
In re B.L.S., 202 Ill. 2d 510, 515 , 782 N.E.2d 217, 221 (2002).
cited Cited as authority (rule) In Re MT
Ill. App. Ct. · 2004 · confidence medium
In re B.L.S., 202 Ill.2d 510, 515 , 270 Ill.Dec. 23 , 782 N.E.2d 217, 221 (2002).
cited Cited as authority (rule) Maschhoff v. Klockenkemper
Ill. App. Ct. · 2003 · confidence medium
Because this question is one of law, our review is de novo (In re B.L.S., 202 Ill. 2d 510, 514 , 782 N.E.2d 217, 220 (2002); People v. Whitney, 188 Ill. 2d 91, 98 , 720 N.E.2d 225, 229 (1999)).
cited Cited as authority (rule) Maschhoff v. Klockenkemper
Ill. App. Ct. · 2003 · confidence medium
Because this question is one of law, our review is de novo ( In re B.L.S. , 202 Ill. 2d 510, 514 , 782 N.E.2d 217, 220 (2002); People v. Whitney , 188 Ill. 2d 91, 98 , 720 N.E.2d 225, 229 (1999)).
discussed Cited as authority (rule) Dekelaita v. Nissan Motor Corp.
Ill. App. Ct. · 2003 · confidence medium
In re B.L.S. , 202 Ill. 2d 510, 514 , 782 N.E.2d 217, 220 (2002). " 'The best evidence of legislative intent is the language used in the statute itself, which must be given its plain and ordinary meaning. [Citation]' " Schawk , 326 Ill.
discussed Cited as authority (rule) Dekelaita v. Nissan Motor Corp. in USA
Ill. App. Ct. · 2003 · confidence medium
In re B.L.S., 202 Ill. 2d 510, 514 , 782 N.E.2d 217, 220 (2002). “ ‘The best evidence of legislative intent is the language used in the statute itself, which must be given its plain and ordinary meaning.’ [Citation.]” Schawk, 326 Ill.
discussed Cited "see" People v. 1995 Ford Van
Ill. App. Ct. · 2004 · signal: see · confidence high
See In re B.L.S., 202 Ill. 2d 510, 515 (2002) (court may examine statutes concerning the same or related subject matter to ascertain legislative intent).
examined Cited "see" Wauconda Fire Protection District v. Stonewall Orchards, LLP (4×)
Ill. App. Ct. · 2003 · signal: see · confidence high
See In re B.L.S., 202 Ill.2d 510, 517 , 270 Ill.Dec. 23 , 782 N.E.2d 217 (2002).
cited Cited "see" The Wauconda Fire Protection District v. Stonewall Orchards, LLP
Ill. App. Ct. · 2003 · signal: see · confidence high
See In re B.L.S. , 202 Ill. 2d 510, 517 (2002).
examined Cited "see, e.g." In Re JT (3×)
Ill. · 2006 · signal: see also · confidence low
See also In re B.L.S., 202 Ill.2d 510 , 270 Ill.Dec. 23 , 782 N.E.2d 217 (holding that the juvenile offender is entitled to receive credit for time spent in custody prior to sentencing — the juvenile's liberty is restrained just as effectively as that of an adult offender).
Retrieving the full opinion text from the archive…
In re B.L.S., a Minor (The People of the State of Illinois, Appellant,
v.
B.L.S., Appellee).
92643.
Illinois Supreme Court.
Dec 5, 2002.
782 N.E.2d 217
Kilbride.
Cited by 25 opinions  |  Published

[*219] James E. Ryan, Attorney General, Springfield, and Terence M. Patton, State's Attorney, Cambridge (Joel D. Bertocchi, Solicitor General, William L. Browers and Lionel W. Weaver, Assistant Attorneys General, Chicago, and Norbert J. Goetten, John X. Breslin and Rita Kennedy Mertel, of the Office of the State's Attorneys Appellate Prosecutor, Ottawa, of counsel), for the People.

Robert J. Agostinelli, Deputy Defender, and Kerry J. Bryson, Assistant Defender, of the Office of the State Appellate Defender, Ottawa, for appellee.

Justice KILBRIDE delivered the opinion of the court:

B.L.S. was adjudicated an habitual juvenile offender and committed to the Department of Corrections, Juvenile Division, (DOC) until his twenty-first birthday, as mandated by section 5-815(f) of the Juvenile Court Act of 1987 (the Act) (705 ILCS 405/5-815(f) (West 2000)). The appellate court affirmed the adjudication and commitment, but held that B.L.S. was entitled to credit for time spent in custody before sentencing. 325 Ill.App.3d 96, 100, 258 Ill.Dec. 948, 757 N.E.2d 637. This court allowed the State's petition for leave to appeal. 177 Ill.2d R. 315.

The State asks this court to hold that B.L.S. is not entitled to receive predisposition credit against his commitment. B.L.S. seeks cross-relief, asking this court to hold that the appellate court erred in determining that a social investigation report was not required before committing him to the DOC. We affirm the appellate court and hold that: (1) an habitual juvenile offender is entitled to receive predisposition credit against a determinate sentence; and (2) the trial court's failure to order a social investigation report before committing B.L.S. to the DOC was harmless error.

I. BACKGROUND

B.L.S., a minor, pleaded guilty to an aggravated battery and was held in custody in a juvenile detention home before being adjudicated an habitual juvenile offender under section 5-815(f) of the Act (705 ILCS 405/5-815(f) (West 2000)). Pursuant to the requirements of section 5-815(f) of the Act, B.L.S. was committed to[*220] the DOC until his twenty-first birthday. The trial court did not award any predisposition credit, nor did the trial court order a social investigation report before committing B.L.S. to the DOC. The appellate court affirmed the adjudication and commitment, but held that B.L.S. was entitled to predisposition credit and remanded the cause for calculation of predisposition detention credit. 325 Ill.App.3d 96, 258 Ill.Dec. 948, 757 N.E.2d 637. This court allowed the State's petition for leave to appeal. 177 Ill.2d R. 315.

II. ANALYSIS

At issue is whether habitual juvenile offenders are entitled to receive credit for predisposition custody. The relevant portion of the Act, section 5-815(f), provides as follows:

"If the court finds that the prerequisites established in subsection (a) of this Section have been proven, it shall adjudicate the minor an Habitual Juvenile Offender and commit him to the Department of Corrections, Juvenile Division, until his 21st birthday, without possibility of parole, furlough, or non-emergency authorized absence. However, the minor shall be entitled to earn one day of good conduct credit for each day served as reductions against the period of his confinement. Such good conduct credits shall be earned or revoked according to the procedures applicable to the allowance and revocation of good conduct credit for adult prisoners serving determinate sentences for felonies.
For purposes of determining good conduct credit, commitment as an Habitual Juvenile Offender shall be considered a determinate commitment, and the difference between the date of the commitment and the minor's 21st birthday shall be considered the determinate period of his confinement." 705 ILCS 405/5-815(f) (West 2000).

The State contends that habitual juvenile offenders are not entitled to credit for predisposition confinement because the Act does not expressly provide for such credit. B.L.S. argues that an habitual juvenile offender is entitled to receive the same credit as an adult offender sentenced to a determinate sentence.

Also at issue is the social investigation report requirement of the Act. Section 5-705(1) of the Act provides, in relevant part:

"At the sentencing hearing, the court shall determine whether it is in the best interests of the minor or the public that he or she be made a ward of the court, and, if he or she is to be made a ward of the court, the court shall determine the proper disposition best serving the interests of the minor and the public. * * * No order of commitment to the Department of Corrections, Juvenile Division, shall be entered against a minor before a written report of social investigation, which has been completed within the previous 60 days, is presented to and considered by the court." 705 ILCS 405/5-705(1) (West 2000).

B.L.S. argues that the trial court erred in failing to order a social investigation report before committing him to the DOC. The State contends that a social investigation report is not required before sentencing an habitual juvenile offender to the DOC because the trial court has no sentencing discretion.

The parties raise issues of statutory construction. We review issues of statutory construction de novo. In re D.D., 196 Ill.2d 405, 418, 256 Ill.Dec. 870, 752 N.E.2d 1112 (2001). The primary purpose of statutory construction is to determine and give effect to the legislature's intent, while presuming the legislature did[*221] not intend to create absurd, inconvenient, or unjust results. D.D., 196 Ill.2d at 418-19, 256 Ill.Dec. 870, 752 N.E.2d 1112. The best indication of legislative intent is the language of the statute. In re D.L., 191 Ill.2d 1, 9, 245 Ill.Dec. 256, 727 N.E.2d 990 (2000). If the language of the statute is clear and unambiguous, there is no need to resort to other aids of construction. D.L., 191 Ill.2d at 9, 245 Ill.Dec. 256, 727 N.E.2d 990. A statute is ambiguous if it is capable of more than one reasonable interpretation. In re B.C., 176 Ill.2d 536, 543, 223 Ill.Dec. 919, 680 N.E.2d 1355 (1997). In ascertaining legislative intent, it is proper to compare statutes that concern the same subject matter and to consider statutes on related subjects. See Anderson v. City of Park Ridge, 396 Ill. 235, 244, 72 N.E.2d 210 (1947).

A. Credit Against Commitment for Time Spent in Predisposition Detention

On the first issue, section 5-815(f) of the Act requires that an habitual juvenile offender be committed to the DOC until age 21. 705 ILCS 405/5-815(f) (West 2000). Commitment as an habitual juvenile offender is considered a determinate commitment and good-conduct credit for habitual juvenile offenders is determined according to the procedures applicable to adult prisoners. 705 ILCS 405/5-815(f) (West 2000). Section 5-8-7(b) of the Unified Code of Corrections (the Code) provides the rules for calculating the length of imprisonment for offenders and states that "[t]he offender shall be given credit on the determinate sentence * * * for time spent in custody as a result of the offense for which the sentence was imposed." 730 ILCS 5/5-8-7(b) (West 2000). Whether an habitual juvenile offender is entitled to credit for predisposition detention is an issue of first impression.

Our appellate court districts are divided on the issue of whether a delinquent minor should receive sentence credit for time spent in predisposition detention. Compare In re E.C., 297 Ill.App.3d 177, 231 Ill.Dec. 550, 696 N.E.2d 846 (4th Dist. 1998), and In re Jesus R., 326 Ill.App.3d 1070, 261 Ill.Dec. 148, 762 N.E.2d 717 (4th Dist.2002) (holding that juveniles sentenced to indeterminate terms are entitled to predisposition credit), with In re J.J.M., 299 Ill.App.3d 327, 233 Ill.Dec. 896, 701 N.E.2d 1170 (2d Dist.1998), and In re C.L.P., 332 Ill.App.3d 640, 265 Ill.Dec. 826, 773 N.E.2d 188 (2d Dist.2002) (holding that juveniles sentenced to indeterminate terms are not entitled to predisposition credit).

The appellate court in this case relied on E.C. to reach its conclusion that habitual juvenile offenders are entitled to predisposition credit. In his brief, B.L.S. relies on E.C. and Jesus R. to support his argument that there is no statutory support for denying predisposition credit. As the State correctly points out, E.C., Jesus R., J.J.M., and C.L.P. are distinguishable because each of those cases involved an indeterminate commitment. We agree with the State that the issue of whether a juvenile sentenced to an indeterminate term is entitled to predisposition credit is not before this court.

The issue before this court is confined to whether an habitual juvenile offender sentenced to a determinate term is entitled to receive credit for predisposition detention. In other words, we must determine whether the rules for calculating the length of the term of imprisonment for offenders, provided in section 5-8-7 of the Code, are applicable to an habitual juvenile offender sentenced to a determinate term under section 5-815(f) of the Act. We need not decide whether a juvenile sentenced to an indeterminate term is entitled to predisposition credit.

[*222] The State argues that B.L.S. is not entitled to credit for his predisposition confinement. According to the State, the right to predisposition credit is statutory and no such right has been provided to habitual juvenile offenders by the Act. The State reasons that the legislature's failure to include such a provision demonstrates its intent to render the statutory right to predisposition detention credit inapplicable to habitual juvenile offenders. Conversely, B.L.S. argues that nothing in the Act prohibits granting predisposition detention credit to an habitual juvenile offender.

The State's interpretation of the statute is reasonable. However, B.L.S.'s construction of the statute is just as reasonable. A statute is ambiguous when it is capable of being understood by reasonably well-informed persons in two or more different senses. People v. Jameson, 162 Ill.2d 282, 288, 205 Ill.Dec. 90, 642 N.E.2d 1207 (1994). Here, the statute is clearly subject to more than one reasonable interpretation and is thus ambiguous. See B.C., 176 Ill.2d at 543, 223 Ill.Dec. 919, 680 N.E.2d 1355. Accordingly, we must employ aids of statutory construction to determine legislative intent, while avoiding absurd, inconvenient, or unjust results. See D.D., 196 Ill.2d at 419, 256 Ill.Dec. 870, 752 N.E.2d 1112. Where the language of the statute is ambiguous, it is appropriate to examine the legislative history. People v. Zaremba, 158 Ill.2d 36, 40, 196 Ill.Dec. 632, 630 N.E.2d 797 (1994). In this case, the intent of the legislature concerning predisposition credit was absent from the legislative history of the Act. Another source to ascertain legislative intent is the council commentary to the statute. People v. Ross, 168 Ill.2d 347, 352, 213 Ill.Dec. 672, 659 N.E.2d 1319 (1995). Although not binding upon this court, council commentary is persuasive authority. Ross, 168 Ill.2d at 352, 213 Ill.Dec. 672, 659 N.E.2d 1319.

The council commentary to section 5-8-7 of the Code states, in relevant part, "[t]his section * * * gives full credit for time served in custody as a result of the offense for which the sentence was imposed. This would apply irrespective of where the offender was confined * * *." 730 ILCS Ann. 5/5-8-7, Council Commentary, at 622 (Smith-Hurd 1997). The council commentary continues, explaining, "[g]enerally, Illinois has operated under a full crediting statute * * * to give benefit to the offender for all time served in confinement both prior to and subsequent to actual imprisonment." 730 ILCS Ann. 5/5-8-7, Council Commentary, at 622 (Smith-Hurd 1997). Accordingly, the council commentary indicates the legislature's intent that offenders receive credit for all time spent in confinement.

Moreover, this court has stated that "[t]he credit requirement of section 5-8-7(b) is meant to account for all time served in confinement for a particular offense." People v. Latona, 184 Ill.2d 260, 270, 234 Ill.Dec. 801, 703 N.E.2d 901 (1998). The purpose of the credit requirement of section 5-8-7(b) is to ensure that offenders do not ultimately remain incarcerated for periods in excess of their eventual sentences. Latona, 184 Ill.2d at 270, 234 Ill.Dec. 801, 703 N.E.2d 901. "Through section 5-8-7(b) the legislature has explicitly required that offenders receive credit against their terms of imprisonment when they are `in custody as a result of the offense for which the sentence was imposed.'" People v. Robinson, 172 Ill.2d 452, 462, 217 Ill.Dec. 729, 667 N.E.2d 1305 (1996).

Accordingly, the resolution of the issue before us is straightforward. The habitual juvenile offender provisions mandate a determinate sentence in the DOC. Section 5-8-7(b)[*223] of the Code requires full credit against determinate sentences for all time served in confinement. Thus, the legislature had no need to include any predisposition credit provision in the habitual juvenile offender statute.

Nothing in the Code restricts section 5-8-7(b) to adult offenders, and we can conceive of no rationale for denying a juvenile credit against a determinate sentence for time spent in predisposition custody. Consequently, we conclude the legislature intended that the rules for calculating the term of imprisonment for an offender sentenced to a determinate sentence are applicable to an habitual juvenile offender. Any other interpretation would lead to an absurd and unjust result. Moreover, the State has not presented any argument as to harm that would result from granting such predisposition credit.

Furthermore, our holding here is consistent with this court's recent ruling concerning the applicability of another rule in juvenile proceedings. See In re A.G., 195 Ill.2d 313, 253 Ill.Dec. 911, 746 N.E.2d 732 (2001). In A.G., we considered whether Supreme Court Rule 604(d), governing appeals from a judgment entered on a guilty plea, is applicable to juvenile proceedings. We recognized that recent amendments to the Act have resulted in juvenile proceedings that are similar to adult criminal proceedings. A.G., 195 Ill.2d at 317-19, 253 Ill.Dec. 911, 746 N.E.2d 732. We commented that amendments to the Act "represent[] a fundamental shift from the singular goal of rehabilitation to include the overriding concerns of protecting the public and holding juvenile offenders accountable for violations of the law." A.G., 195 Ill.2d at 317, 253 Ill.Dec. 911, 746 N.E.2d 732. We further noted that "virtually all of the constitutional requirements of a criminal trial have been introduced into juvenile delinquency proceedings." A.G., 195 Ill.2d at 318, 253 Ill.Dec. 911, 746 N.E.2d 732. Accordingly, we held that compliance with Rule 604(d) is required in juvenile proceedings. A.G., 195 Ill.2d at 319, 253 Ill.Dec. 911, 746 N.E.2d 732.

A similar result is compelled by the circumstances in this case. Public safety and punishment are now the overriding concerns of the juvenile justice system. A.G., 195 Ill.2d at 317, 253 Ill.Dec. 911, 746 N.E.2d 732. The incarcerated juvenile's liberty is restrained just as effectively as that of an adult offender. See In re Urbasek, 38 Ill.2d 535, 541, 232 N.E.2d 716 (1967). We therefore hold that an habitual juvenile offender is entitled to receive credit for time spent in custody prior to sentencing.

B. Commitment Under Section 5-815(f) Without a Social Investigation Report

In his request for cross-relief, B.L.S. contends that the appellate court erred in holding that a social investigation report was not required prior to committing him to the DOC. Respondent bases his claim on the mandatory language of section 5-705(1) of the Act (705 ILCS 405/5-705(1) (West 2000)), requiring the trial court to consider a social investigation report before committing a minor to the DOC.

Section 5-705(1) of the Act specifies the circumstances to be considered in determining whether to make the minor a ward of the court. If the minor is made a ward of the court, then the trial court must determine the disposition best suited to the interests of the minor and the public. Section 5-705(1) further provides that the judge may rely on "[a]ll evidence helpful in determining these questions, including oral and written reports." 705 ILCS 405/5-705(1) (West 2000). A social investigation report includes information of the minor's[*224] physical and mental history and condition, family situation and background, economic status, education, occupation, personal habits, and history of delinquency or criminality. 705 ILCS 405/5-701 (West 2000). Thus, the social investigation report provides the trial court with information to assist in determining whether to make the minor a ward of the court and in determining an appropriate disposition for the minor.

Here, the language of the statute clearly and unambiguously states that "[n]o order of commitment to the Department of Corrections, Juvenile Division, shall be entered against a minor before a written report of social investigation * * * is presented to and considered by the court." 705 ILCS 405/5-705(1) (West 2000). There are no exceptions made for those situations when the judge lacks sentencing discretion. Therefore, a social investigation report must be prepared before sentencing any minor to the DOC, and the trial court erred by sentencing B.L.S. without the benefit of the report.

In affirming the trial court, the appellate court erroneously held that a social investigation report was not required in this case. However, we may affirm the trial court's decision on any basis established by the record. People v. Brownlee, 186 Ill.2d 501, 511, 239 Ill.Dec. 25, 713 N.E.2d 556 (1999). We are instructed by Supreme Court Rule 615(a) (134 Ill.2d R. 615(a)) that "[a]ny error, defect, irregularity, or variance which does not affect substantial rights shall be disregarded." Rule 615(a) is applicable in juvenile appeals. In re W.C., 167 Ill.2d 307, 322, 212 Ill.Dec. 563, 657 N.E.2d 908 (1995). Here, the trial court had no sentencing discretion because, once B.L.S. was adjudicated an habitual juvenile offender, section 5-815(f) of the Act mandated that the trial court commit him to the DOC until his twenty-first birthday. Thus, a social investigation report would have served no purpose in the decision to enter the sentencing order and remandment for resentencing is not necessary because B.L.S. was not prejudiced by the absence of the report.

We recognize that information provided in a social investigation report may be useful to the DOC and others involved in the ward's care, treatment, and rehabilitation. However, B.L.S. has not raised such an argument, and we have been provided with no information that the DOC requires such a report. Accordingly, we hold that the trial court's error in failing to order a social investigation report was harmless.

III. CONCLUSION

We hold that an habitual juvenile offender is entitled to receive credit against a determinate sentence for time spent in predisposition detention. We also hold that the trial court's failure to order a social investigation report prior to committing B.L.S. to the DOC was harmless error.

For the foregoing reasons, we affirm the judgment of the appellate court.

Affirmed.