¶1In 1993, the Legislature enacted comprehensive sentencing reform that included measures to abolish gender distinctions in sentencing.
¶2We conclude that the Appellate Division had jurisdiction to review the sentences at issue, both under the express terms of the defendant’s original sentence and pursuant to G. L. c. 278, *740§ 28A, as construed in light of the 1994 sentencing reform amendments. We therefore affirm.
¶31. Background. On November 7, 2000, the defendant waived her right to a jury trial in the Superior Court and pleaded guilty to ten counts of forgery, G. L. c. 267, § 1; three counts of larceny over $250, G. L. c. 266, § 30; and three counts of identity fraud, G. L. c. 266, § 37E. A judge in the Superior Court sentenced the defendant on all three larceny convictions “to MCI Cedar Junction to serve at MCI Framingham” for a single term not exceeding five years or less than three years. On the forgery and identity theft convictions, the judge sentenced the defendant to sentences to be served concurrently with the larceny convictions. The judge also sentenced the defendant to five years’ probation on the larceny convictions, from and after the completion of the larceny sentence, and five years’ probation on the forgery and identity theft charges, to run concurrently with the term of probation on the larceny convictions.
¶4The defendant appealed to the Appellate Division of the Superior Court, pursuant to G. L. c. 278, § 28A. On May 23, 2001, the Appellate Division entered an order, amending her sentences, the effect of which was to increase the defendant’s over-all sentences by imposing concurrent sentences of from three to five years on the second and third larceny convictions to be served from and after the sentence imposed on the defendant for the first larceny conviction. The Appellate Division otherwise affirmed the sentences and dismissed the appeal.
¶5Four years later, in September, 2005, the defendant filed a motion in the Superior Court pursuant to Mass. R. Crim. R 30 (a), as appearing in 435 Mass. 1501 (2001),
¶6The motion judge, who was also the plea judge, denied the defendant’s motion, as well as her motion for reconsideration. The defendant appealed, and we transferred the case here on our own motion.
¶72. Discussion. As a preliminary matter, the Commonwealth claims that the Superior Court judge was correct to deny the defendant’s motion under rule 30 (a) because he had no authority to determine the jurisdictional limits of the Appellate Division. The Commonwealth points out that the Appellate Division is a “higher-level tribunal” than the Superior Court, consists of a panel of three judges, and has, as its name implies, appellate jurisdiction to review the sentencing actions of the trial court. See G. L. c. 278, § 28B. Accordingly, the jurisdictional limits of the Appellate Division can be challenged, the Commonwealth argues, only by an appeal to the Appeals Court or by a petition to this court pursuant to G. L. c. 211, § 3. The point has some merit. However, where G. L. c. 278, § 28A, has no provision concerning appellate review of a decision of the Appellate Division,
¶8Turning first to the defendant’s own sentence to “MCI Cedar Junction to serve at MCI Framingham,” this constitutes a “state prison” sentence by its own terms.
¶9The clause “to serve at MCI Framingham” merely denotes where the defendant is to be housed to carry out her “state prison” sentence. Pursuant to G. L. c. 125, § 16, as amended through St. 1972, c. 777, § 10, all women sentenced to incarceration “shall be committed to the Massachusetts Correctional Institution, Framingham, or to other such correctional facility or facilities as the commissioner may from time to time designate as appropriate for the purpose.” A woman sentenced “to MCI Cedar Junction,” without an accompanying “to serve at MCI Framing-ham” clause would, by the express terms of G. L. c. 125, § 16, be committed to serve her sentence at MCI Framingham, or such other facility as is deemed “appropriate” by the Commissioner of Correction. The defendant’s contention to the contrary notwithstanding, the “to serve at MCI Framingham” clause in her sentence is also consistent with G. L. c. 279, § 19, which provides that the “sentence to imprisonment of a female convicted of a felony shall be executed in the Massachusetts Correctional Institution, Framingham” (emphasis added). In context, the terms to “serve” and to “execute[]” are synonymous, in that both terms specify where the defendant is to serve her sentence. The defendant’s sentence is a State prison sentence, and the review of her sentence was, therefore, plainly within the statutory jurisdiction of the Appellate Division.
¶10We need not reach the defendant’s alternative argument that the sentence of a woman directly to MCI Framingham can never constitute a sentence “to the state prison” for the purposes of G. L. c. 278, § 28A, and that the appeal from any such sentence is governed by the limitations of the “reformatory for women” clause in G. L. c. 278, § 28A. We dispose of the matter briefly to eliminate any uncertainty in this regard. See Andrews v. Civil Serv. Comm’n, 446 Mass. 611, 618 (2006); Wellesley Collegev. Attorney Gen., supra.
¶11The defendant relies primarily on Moulton v. Commonwealth, 215 Mass. 525, 527 (1913), in which this court held that the “reformatory prison for women” was not a “branch of the State prison, when the place of punishment of women convicted for *744felony is under consideration.” The distinction drawn in the Moultoncase between felony sentences to the reformatory for women and felony sentences to the State prison was based on circumstances and legislative schemes that are no longer operative.
¶12Statutes that “relate to a common subject matter ‘should be construed together so as to constitute an harmonious whole.’ ” Commonwealth v. Smith, 431 Mass. 417, 424 (2000), quoting Board of Educ. v. Assessor of Worcester, 368 Mass. 511, 513-514 (1975). Adopting the interpretation of G. L. c. 278, § 28A, urged by the defendant would restrict certain appeals by women, while allowing those of similarly situated men to proceed. This *745is inconsistent with the intent of the Legislature, as evinced by the Legislature’s comprehensive 1994 amendments that reformed the sentencing statutes to eliminate such disparities in the sentencing of men and women. See note 1, supra. More to the point, “where a statute may be construed as either constitutional or unconstitutional, a construction will be adopted which avoids an unconstitutional interpretation.” Commonwealth v. Corey, 351 Mass. 331, 334 (1966), quoting Demetropolos v. Commonwealth, 342 Mass. 658, 660 (1961). In light of the equal protection jurisprudence mandated by art. 1 of the Massachusetts Declaration of Rights, as amended by art. 106 of the Amendments, see e.g., Commonwealth v. King, 374 Mass. 5, 20-22 (1977), we cannot admit an interpretation of G. L. c. 278, § 28A, that, as the defendant would have it, authorizes men to appeal from a State prison sentence of any length, including one of less than five years, but denies the same right to women. While the portion of G. L. c. 278, § 28A, pertaining to appeals by women remains operative,
¶13We are cognizant there may be cases where a judge sentences a woman to “MCI Framingham” without indicating, as the judge did in this case, whether she is sentenced “to MCI Cedar Junction” or whether the sentence is a sentence to a “state prison.” The right of a woman to appeal from her sentence to the Appellate Division should not turn on whether the sentencing order or mittimus includes either the phrase to “MCI Cedar Junction” or to a “state prison.” See Attorney Gen. v. School Comm. of Essex, 387 Mass. 326, 336 (1982) (“We will not adopt a literal construction of a statute if the consequences of such construction are absurd or unreasonable”). When the sentence of a woman is to “MCI Framingham,” without more, the determination whether a discretionary sentence
¶14So ordered.
¶15St. 1993, c. 432. The legislation, introduced in 1993, was approved on January 12, 1994, and took effect on July 1, 1994. In general terms, the legislation repealed various portions of the General Laws that authorized gender distinctions in sentencing, as well as repealing indeterminate sentences and reformatory sentences. Id. at §§ 14-15, 17-20.
¶16General Laws c. 278, § 28A, states in pertinent part:
“There shall be an appellate division of the superior court for the review of sentences to the state prison imposed by final judgments in criminal cases, except in any case in which a different sentence could not have been imposed, and for the review of sentences to the reformatory for women for terms of more than five years imposed by final judgments in such criminal cases. Said appellate division shall consist of three justices of the superior court to be designated from time to time by the chief justice of said court and shall sit in Boston or at a Massachusetts correctional institution or at such other place as may be designated by the chief justice and at such times as he shall determine. No justice shall sit or act on an appeal from a sentence imposed by him. Two justices shall constitute a quorum to decide all matters before the appellate division.”
¶17As part of her sentence, the defendant was also required to undergo substance abuse treatment and to make restitution to each victim.
¶18The docket reflects that the defendant filed a notice of appeal of the Appellate Division’s ruling, but there is no indication in the record that she pursued that appeal.
¶19Rule 30 (a) of the Massachusetts Rules of Criminal Procedure, as appearing in 435 Mass. 1501 (2001), provides: “Any person who is imprisoned or whose liberty is restrained pursuant to a criminal conviction may at any time, as of right, file a written motion requesting the trial judge to release him or *741her or to correct the sentence then being served upon the ground that the confinement or restraint was imposed in violation of the Constitution or laws of the United States or of the Commonwealth of Massachusetts.”
¶20Massachusetts Correctional Institution, Framingham, is the direct nominate statutory successor to “the reformatory for women.” See, e.g., St. 1972, c. 293, § 1; St. 1955, c. 770, §§ 82, 85, 95, 96.
¶21The defendant readily concedes that it was she who had invoked the jurisdiction of the Appellate Division, but argues that the question of the Appellate Division’s subject matter jurisdiction could be raised at any time, citing Commonwealth v. DeJesus, 440 Mass. 147, 151 (2003).
¶22General Laws c. 278, § 28B, provides that a decision of the Appellate Division “shall be final.” Cf. Commonwealth v. D’Amour, 428 Mass. 725, 746 (1999) (“lawful” sentences can be reviewed only by Appellate Division).
¶23We do not address the Commonwealth’s argument that the defendant’s claims are barred by estoppel. The Commonwealth relies on Harker v. Holyoke, 390 Mass. 555, 558-559 (1983), arguing that a collateral attack on subject matter jurisdiction is barred by the principal of finality except in rare circumstances. There, the plaintiffs attempted to relitigate in the Superior Court the same substantive claim on which judgment had previously been entered in the Housing Court. This court held that the claim constituted a collateral attack on the subject matter jurisdiction of the Housing Court. Id.Here, the defendant does not seek to relitigate her substantive claim, but challenges only the jurisdiction of the Appellate Division to review her sentence. The Harkercase is not applicable.
¶24The clause “to serve at MCI Framingham” is surplusage.
¶25There are only two possible sentences in the Commonwealth — a State prison sentence and a house of correction sentence. See M.Y. Gonzalez, Imprisonment and Release from Custody § 40.5, 2 Massachusetts Criminal Practice at 395 (1998).
¶26In Moulton v. Commonwealth, 215 Mass. 525, 527 (1913), this court found persuasive the fact that while the reformatory prison for women was “subject to the supervision of the prison commissioners, its discipline and management are not only distinctive, but entirely independent of other penal institutions, and it is supported by an annual separate appropriation.” Id.Today, management of all Commonwealth correctional facilities is under the unified control of the Department of Correction, see G. L. c. 125, § 11 (“department of correction shall maintain ... the correctional institutions of the commonwealth”), and the general fiscal appropriation for “the operation of the commonwealth’s department of correction,” including all correctional facilities, is now provided for in a single line item of the budget. See, e.g., St. 2005, c. 45, § 2, line item 8900-0001.
¶27As in effect in 1945, G. L. (Ter. Ed.) c. 279, § 17, provided that a court “imposing a sentence to the reformatory for women, shall not prescribe the limit of the sentence unless it is for more than five years.” Indefinite “reformatory” sentences could be terminated at any point prior to the maximum length if it were determined that the woman had been “reformed.” See Platt v. Commonwealth, 256 Mass. 539, 541 (1926). A judge who sentenced a woman to a “reformatory” term five years or less would have no discretion over the minimum length of the sentence. Consequently permitting a woman to appeal from a reformatory sentence of five years or less would have served little purpose. Indeed, men serving reformatory sentences were already foreclosed from appealing from their indeterminate length sentences, as G. L. c. 278, § 28A, granted an appeal only from State prison sentences, which carried both a minimum and a maximum term. The 1945 legislation, therefore, did not create disparate appellate rights for men and women. Rather, it provided women with comparable rights to appeal from definite (but not indeterminate length) sentences under the sentencing scheme that then existed.
¶28That portion states, “and for the review of sentences to the reformatory for women for terms of more than five years imposed by final judgments in such criminal cases.” G. L. c. 278, § 28A.
¶29Consistent with the existing plain statutory language, no appeal will lie in *746any case in which “a different sentence could not have been imposed.” Id.