This is an appeal from a final judgment of the Circuit Court for the Seventeenth Judicial Circuit in and for Broward County in which that court passed upon the constitutionality of section 95.031(2), Florida Statutes (1975). We have jurisdiction. Art. V, § 3(b)(1), Fla.Const.
The trial court found that Federal Press Company manufactured and Florida Machinery Corporation sold and delivered a punch press machine to the plaintiff’s employer, with delivery occurring no later than June 2, 1961. Wilma Purk was in*356jured using the machine on April 24, 1973. On April 13, 1976, Mrs. Purk brought this action alleging that the defectiveness and negligent manufacture of the machine caused her injury. The trial court entered summary judgment for the defendants on the ground that the statute of limitations bars the action.
On January 1,1975, chapter 74-382, Laws of Florida, went into effect. This law was a general revision of the statute of limitations. Section 3 provides that an action for products liability must be begun within twelve years after the date of delivery of the completed product to its original purchaser regardless of the date the defect in the product was or should have been discovered.1 Section 7 provides that an action based on the design, planning, or construction of an improvement to real property must be begun within four years of the accrual of the cause of action, “but in any event within twelve (12) years after the date of actual possession by the owner or the date of abandonment of construction if not completed, or upon completion or termination of the contract between the professional engineer, registered architect or licensed contractor and his employer.”2
Section 36 of the law provides a savings clause by virtue of which an action that would have been barred by the new statute on its effective date was allowed until January 1, 1976 to be commenced.3 Since the *357appellants did not bring their action until April 13, 1976, the complaint was not timely-
The appellants contend that section 95.031(2) denies access to courts in violation of article I, section 21, Florida Constitution. In support of this proposition they cite Kluger v. White, 281 So.2d 1 (Fla.1973), where we held
that where a right of access to the courts for redress for a particular injury has been provided by statutory law predating the adoption of the Declaration of Rights of the Constitution of the State of Florida, or where such right has become a part of the common law of the State pursuant to Fla.Stat. § 2.01, F.S.A., the Legislature is without power to abolish such a right without providing a reasonable alternative to protect the rights of the people of the State to redress for injuries, unless the Legislature can show an overpowering public necessity for the abolishment of such right, and no alternative method of meeting such public necessity can be shown.
Id. at 4.
In Bauld v. J.A. Jones Construction Co., 357 So.2d 401 (Fla.1978), we were faced with the question of the validity of section 95.11(3)(c), Florida Statutes (1975). We held that the twelve-year limitation of actions founded on the design, planning, or construction of an improvement to real property, as applied in that case, did not deny access to courts by abolishing a cause of action in violation of article I, section 21, Florida Constitution. In the subsequent case of Overland Construction Co. v. Sirmons, 369 So.2d 572 (Fla.1979), we held that section 95.11(3)(c), insofar as it provided an absolute bar to lawsuits brought more than twelve years after events connected with the construction of improvements to real property, did violate article I, section 21.
The majority opinion in Overland explained why the two cases were treated differently.
In Bauld, unlike the present case, the injury occurred prior to the enactment of section 95.11(3)(c), at a time when the applicable statute of limitations provided only that suit must be commenced within four years. When section 95.11(3)(c) took effect in 1975, two and one-half years of that period had elapsed, during which time an action could have been filed. Moreover, the savings clause of section 95.022 extended the deadline for instituting existing causes of action which would otherwise have been terminated by the new twelve year limitation for an additional year. Consequently, the absolute twelve year prohibitory provision did not operate to abolish Pearl Bauld’s cause of action, but merely abbreviated the period within which suit could be commenced from four to three and one-half years. Although shortened, the time for bringing suit was found to be ample and reasonable; it was not forestalled altogether.
By contrast, Sirmons’ cause of action was already barred by the twelve year limitation when it first accrued — that is, when his injuries occurred. No judiciál forum would ever have been available to Sirmons if the twelve year prohibitory portion of the statute were given effect. Obviously, our decision as to the validity of the statute vis-a-vis Pearl Bauld would not operate to bar our declaring the same statute invalid vis-a-vis Jerry Sirmons.
369 So.2d at 574-75 (footnotes omitted).
The present case is like Bauld in that the injury occurred prior to the enactment of section 95.11(3)(c). The time for bringing suit was shortened, but the cause of action was not abolished. We hold that as applied here, section 95.11(3)(c) does not deny the right of access to courts.
The appellants contend that the statute denies equal protection by establishing a classification which has no rational relation to a proper state objective. A statute of limitation does not deny equal protection if it is based on a rational distinction among classes of persons. See, e. g., Gammon v. Cobb, 335 So.2d 261 (Fla.1976). The above discussion of the distinction between Bauld and Overland demonstrates that the *358statute treats differently persons in different circumstances. We hold that it does not deny equal protection.
The appellants contend finally that the statute violates article III, section 6, Florida Constitution, which requires that laws embrace but one subject and matter properly connected therewith, and that the subject be briefly expressed in the title. As presented by the appellants, this contention is not even colorably meritorious since they call our attention not to the title of the law in question but to the title or subject heading of chapter 95, Florida Statutes (1975). The title to chapter 74-382, Laws of Florida, reads in relevant part:
AN ACT relating to limitations of actions; creating sections . . .; prescribing the periods of time for limitations; the conditions under which the periods of time apply, the times when actions accrue, the applicability of limitations and laches; repealing sections .
Article III, section 6 does not require that the title contain a detailed explanation of every provision, but only that all matters dealt with in the body of the law be fairly related to the subject described in the title. State v. McDonald, 357 So.2d 405 (Fla.1978); Town of Monticello v. Finlayson, 156 Fla. 568, 23 So.2d 843 (1946). The title is adequate if it is not misleading and is sufficiently detailed to put interested persons on notice reasonably leading to inquiry as to the contents of the act. King Kole, Inc. v. Bryant, 178 So.2d 2 (Fla.1965); Wright v. Board of Public Instruction, 48 So.2d 912 (1951). The title of chapter 74-382 is sufficient.
The judgment is affirmed.
It is so ordered.
SUNDBERG, C. J., and ADKINS, OVER-TON, ENGLAND, ALDERMAN and MCDONALD, JJ., concur.