This case presents a question regarding the appropriate way to calculate prejudgment interest under G. L. c. 231, § 6C (1984 ed.). The present controversy arises оut of a judgment entered in the Superior Court awarding the plaintiff, Sterilite Corporation (Sterilite), damages for breach of a liability insurance contract. That judgmеnt, which awarded Sterilite the costs incurred in defending itself in litigation instituted by Henry Heide, Inc. (Heide), was affirmed by the Ap
*838
peals Court with a modification not relevant here.
Sterilite Corp.
v.
Continental Casualty Co.,
The trial judge ruled that, under the terms of its рolicy with Sterilite, the defendant was obligated to defend Sterilite or to retain and pay for counsel of Sterilite’s choosing. The damages awarded consistеd of legal expenses Sterilite had incurred over a period of approximately six years. These expenses were incurred in over twenty billings, the bulk of which wеre submitted to Sterilite after the commencement of the action on October 20, 1980. The judge determined that interest was due from January 5, 1976, the date of the defendаnt’s notification that it would not defend Sterilite.
In construing G. L. c. 231, § 6C,
2
the statute applicable to this case, the Appeals Court relied upon the plain meaning doctrine: “We think § 6C ‘means just what it says on its face . . . . ’
Sprague
v.
O’Connell,
Ordinarily, if the language of a statute is plain and unambiguous it is conclusive as to legislative intent.
Local 589, Amalgamated Transit Union
v.
Massachusetts Bay Transp. Auth.,
Although G. L. c. 231, § 6C, commands a ministerial act, its sole or primary purpose was not to provide administrative
*840
ease by establishing “a fixed rule for mathematically calculable interest to avoid the costs and delays incident to disputes over details such as might be presented ... if interest were awarded separatеly on many elements of damages from many different dates of accrual.”
Charles D. Bonanno Linen Serv., Inc.
v.
McCarthy,
The Legislature intended, as the Appeals Court nоted, “to abrogate the common law rule which distinguished between liquidated and unliquidated damages.”
*841
The primary purpose of G. L. с. 231, § 6C, though, is the same as the common law rule before, even if different in scope. In
Perkins School for the Blind
v.
Rate Setting Comm’n,
The judge mechanically used January 5, 1976, as the date of the breach of contract. The Appeals Court rejected the argument that the breach of contract was on the various dates on which Sterilite was billed for the legal expenses incurred in the Heide litigation.
The judgment is reversed and the case is remanded to the Superior Court for action consistent with this opinion.
So ordered.
Notes
Further appellate review was denied,
General Laws c. 231, § 6C (1984 ed.), providеs: “In all actions based on contractual obligations, upon a verdict, finding or order for judgment for pecuniary damages, interest shall be added by the clerk of the court to the amount of damages, at the contract rate, if established, or at the rate of twelve per cent per annum from the date of the breаch or demand. If the date of the breach or demand is not established, interest shall be added by the clerk of the court, at such contractual rate, or at the rate of twelve per cent per annum from the date of the commencement of the action.”
We reiterate that “[i]t is the function of the court to сonstrue a statute as written and an event or contingency for which no provision is made does not justify judicial legislation.”
Prudential Ins. Co.
v.
Boston, 369
Mass. 542, 547 (1976). See
Harry Alan Gregg, Jr. Family Found. Inc.
v.
Commissioner of Corps. & Taxation,
The distinction between liquidated and unliquidated damages was criticized by the Supreme Court in
Funkhouser
v.
J.B. Preston Co.,
The rationale for not allowing interest on unliquidated sums prior to the date of the writ was that a defendant owing an unliquidated sum did not know what amount was due, nor when a fixed sum was due. The mаjority rule did not allow prejudgment interest on unliquidated damages at all. See
Funkhouser
v.
J.B. Preston Co.,
