The note in suit was made and delivered on 'Sunday. The defendant, therefore, must prevail unless ch. 194, Pub. Laws of 1880 (R. S., c. 82, § 116) passed nearly four .years after the date of the note, is retroactive and precludes the 'defense set up in this suit. The statute provides that " no person who receives any money, or valuable thing, as the consideration for a contract, express or implied, made and entered into on Sunday, shall be permitted to defend any action upon such contract on the ground that it was so made and entered into on Sunday, until he shall restore such consideration so received; __provided that nothing herein contained shall apply to any action now pending.”
It is admitted that the consideration received for the note has not been restored.
We are satisfied that the language of the statute in question is sufficiently comprehensive to apply to transactions arising not only after its enactment, but also to those previously existing, *485with the exception therein named of actions pending at the date of its passage. In construing a statute like this the court must consider the nature and reason of the remedy, and, from the language used, give effect to the intention of the legislature if that can be ascertained. " And such a construction ought to be put upon a statute as may best answer the intention which the makers had in view.” Bac. Ab. I. 5. This intention is to be sought for by a careful examination and consideration of all its parts, and not from any particular word or phrase that may be contained in it. This is the guiding star in the construction of every statute.
What was the object to be accomplished by this statute? Undoubtedly to make a party defendant to a Sunday contract do equity.
While it is true that the verb " receives ” is in the present tense, yet it is common knowledge that such forms of expression are oftentimes used in statutes, and when applied to the remedy are as appropriate to suits on past as future transactions. And while the proviso, excluding its operations from ponding suits, if taken alone may not be sufficient of itself to embrace suits after-wards commenced on past contracts, nevertheless it should be considered with the other parts of the statute in ascertaining its meaning. For if we were inclined to view the statute as applicable to and embracing only actions upon future contracts, then we should be met by the very suggestive as well as pertinent fact that there certainly could be no occasion for a proviso excluding pending suits, having for their basis contracts, existing prior to the statute.
Neither can the objection prevail, when construed as applicable alike to past as well as future contracts, that this statute is retrospective in its operation and affects vested rights. It may be retroactive, and yet not retrospective within the legal meaning of the word.
It affects the remedy only, and not the rights of property or obligation of the contract. Retroactive laws, remedial in their-nature, are not obnoxious to the objection of being in contravention of the constitution, unless they impair vested rights, or-*486create personal liabilities. Coffin v. Rich, 45 Maine, 507; Read v. Frankfort Bank, 23 Maine, 318; Oriental Bank v. Freeze, 18 Maine, 109. There is no vested right in any particular remedy. Previous to the statute in question, a defendant sued upon a contract made on Sunday could avail himself of the defense that it was a Sunday contract; but the fact that such a statutory defense existed gave him no vested right, and therefore in this case no vested right has been impaired by the statute. It in no way operates upon the contract, or renders it valid. It exists precisely as it did before. The statute applies only to future remedies, and merely requires the defendant to restore the consideration received by him in the participation of an •unlawful act as a condition upon which he may make his defense. Holmes v. French, 68 Maine, 529.
Exceptions overruled.
Peters, C. J., Walton, Danforth, Libbey and Emery, •JJ., concurred.