This аppeal presents the question, May a party assert a counterclaim in which the applicable statute of limitations had run on the counterclaim at some point between the date that the plaintiff’s petition was filed and the date that the counterclaim was filed? In this appeal, appellee Stephen P. Becker filed a negligence suit against appellant James Hobbs. Hobbs filed a timely answer which included a counterclaim asserting a negligence claim against Becker. The district court determined that Hobbs could not assert the counterclaim because the statute of limitations had run prior to the date Hobbs filed the counterclaim, even though the statute of limitations had not yet run on the date Becker filed his petition. We reverse, concluding that the limitation statutes in Neb. Rev. Stat. ch. 25, art. 2 (Reissue 1989 & Cum. Supp. 1992), do not bar a counterclaim so long as the counterclaim would not have been barred on the date the plaintiff’s petition was filed and thus, that Hobbs may assert his counterclaim.
*434 BACKGROUND
On Novеmber 28,1992, motor vehicles driven by Becker and Hobbs collided on a county road south of Pilger, Nebraska. Both Becker and Hobbs suffered injuries from the collision.
On October 24, 1996, Becker filed this lawsuit against Hobbs, alleging that Hobbs operated his vehicle negligently and that his negligence proximately caused Becker damage. Becker prayed for general damages, special damages totaling $20,997.08, and future special damages then unascertainable. Hobbs was personally served with process on November 27.
On December 23, 1996, Hobbs filed an answer. Within the answer, Hobbs asserted affirmative defenses of contributory negligence and failure to mitigate damages, and also asserted a counterclaim against Becker. Hobbs’ counterclaim alleged that in the same 1992 collision Becker was negligent and that his negligence proximately caused Hobbs damage. Hobbs prayed for general damages “which shall fairly and fully compensate the Counter claimant for the general damages and injuries sustained by him,” special damages totaling $17,564.62,. and future special damages then unascertainable.
Becker demurred to Hobbs’ counterclaim, on the ground that the applicable statute of limitations had run prior to the date that Hobbs filed the counterclaim. See § 25-207. Hobbs resisted the demurrer, on the ground that his counterclaim arose out of the same occurrenсe as Becker’s suit and thus related back to the date Becker filed his petition. Alternatively, Hobbs argued that his counterclaim did not seek an affirmative judgment but, rather, sought only recoupment against Becker’s suit.
The district court sustained Becker’s demurrer with leave to amend. The court stated that our decision in
Ed Miller & Sons, Inc.
v.
Earl,
*435 After being given leave to amend, Hobbs filed an amended answer which asserted the same denials and affirmative defenses, but altered his previously asserted counterclaim. As amended, Hobbs again alleged under a section he entitled “Counterclaim” that Becker was negligent and that his nеgligence proximately caused Hobbs damage in the 1992 collision. After alleging over $17,500 in various damages Hobbs suffered from the collision, Hobbs stated: “HOBBS is entitled to recoup and recover from BECKER the amounts and damages set forth ... and also to have them operate as a set-off against the claims made by BECKER in the petition in this action.” Hobbs рrayed “for judgment against. . . Becker, to recoup and recover from .. . Becker, all of the amounts set forth in... this counterclaim; and further to have those amounts operate as a set-off against any recovery while [Becker] may be awarded for the matters alleged in the petition in this action ...” Becker moved for summary judgment on Hobbs’ counterclaim. Both parties advanced legal arguments to the court similar to those they had made in the hearing on the demurrer.
The court granted Becker summary judgment. The court stated in its order that the amended answer, while it requested the court to limit the relief to any judgment Becker was awarded, nonetheless still sought an affirmative judgment, and thus was not substantively a defensive pleading or demand for recoupment. Based on that finding and its analysis from its order sustaining Becker’s earlier demurrer, the court granted Becker summary judgment and dismissed Hobbs’ counterclaim. Hobbs appeals.
ASSIGNMENTS OF ERROR
Hobbs assigns that the district court erred in finding (1) that Becker’s petition did not toll or suspend the running of the statute of limitations on Hobbs’ counterclaim, (2) that Hobbs’ counterclaim sought only affirmative relief, and (3) that Hobbs could not maintain his counterclaim under a theory of recoupment.
STANDARD OF REVIEW
A challenge that a pleading is barred by the statute of limitations is a challenge that the pleading fails to allege sufficient
*436
facts to constitute a cause of action. See,
LaPan
v.
Myers,
ANALYSIS
At the outset, we note that the proper procedure by which to challenge a counterclaim is a motion to strike.
Barks
v.
Cosgriff Co.,
Hobbs argues, first, that his amended, operative answer asserts a counterclaim. He then argues that either (1) Becker’s petition tolled the statute of limitations against the counterclaim, asserting that our case law, including
Davis Erection Co.
v.
Jorgensen,
Initially, we must determine the question of whether Hobbs’ operative answer on appeal pleads a counterclaim or a recoupment defense. If the answer pleads recoupment, then Hobbs prevails, because the defense of recoupment “survives as long as plaintiff’s cause of actiоn exists, even if affirmative legal action upon the subject of recoupment is barred by the statute of limitations.”
Nathan
v.
McKernan,
A counterclaim in this jurisdiction “ ‘must be an existing, valid, and enforceable cause of action in favor of the defendant against the plaintiff.’ ”
McGerr
v.
Marsh,
Hobbs’ answer plеads the necessary facts to assert an independent negligence action, it seeks damages independent of those demanded by Becker, and although it contains some language to the contrary, it seeks an independent judgment for all damages Hobbs alleged he incurred. Thus, we conclude Hobbs’ answer asserts a counterclаim.
*438 The issue then is whether Hobbs’ counterclaim is barred by the statute of limitations, when the applicable statute of limitations had not yet run on the date Becker’s petition was filed, but had run at some point before the date Hobbs’ counterclaim was filed. This is the first time this court has been presented with this precise issue.
In
Davis Erection Co.
v.
Jorgensen,
A counterclaim, setoff, or crоss-petition, to be available as a matter of affirmative defense or affirmative relief, must be a claim upon which the defendant could, at the date of the commencement of the plaintiff’s suit, have maintained an action on the defendant’s part against the plaintiff.
See,
Weller
v.
Putnam,
Hobbs asserts that once a counterclaim meets the requirement that it would not have been time barred on the date the plaintiff’s petition was filed, that determination is conclusive of the issue, and the counterclaim may be pursued. While Hobbs’ interpretation would be consistent with Davis Erection Co. and Weller, those cases did not present the same faсtual circumstances, nor did they address the precise issue before us. In the instant case, the facts present a counterclaim that was enforceable as an independent action on the date the plaintiff’s petition was filed but not independently enforceable on the date the counterclaim was filed. Thus, Davis Erection Co. and Weller are not cоntrolling on the issue before us, and we must determine if the law provides any additional statute of limitations requirements for counterclaims.
Section 25-207, the applicable statute of limitations to both negligence claims in the instant case, reads in pertinent part:
*439
“The following actions can only be brought within four years: ... (3) an action for an injury to the rights of the
plaintiff,
not arising on contract, and not hereinafter enumerated.” (Emphasis supplied.) A counterclaim in this jurisdiction must by definition be an enforceable cause of action in favor of the defendant. See
McGerr
v.
Marsh,
However, a reading of related statutes in conjunction with § 25-207 suggests that a counterclaim not be considered separately from the related petition. Section 25-201 states: “Civil actions can only be commenced within the time prescribed in this chapter, after the cause of action shall have accrued.” Section 25-217 reads in part: “An action is commenced on the date the petition is filed with the court.” (Emphasis supplied.)
Statutes relating to the same subject matter will be construed so as to maintain a sensible and consistent scheme and so that effect is given to every provision.
State ex rel. City of Elkhorn
v.
Haney,
Becker argues that our conclusion here is contradictory to our decision in
Ed Miller & Sons, Inc.
v.
Earl,
Moreover, policy and fundamental fairness also support a rule providing that the date the plaintiff’s petition is filed determines whether a counterclaim is time barred. A statute of limitations provides a period of repose designed, if asserted, to prevent recovery on stale claims.
Hullinger
v.
Board of Regents,
The main purpose of a statute of limitations is to notify the defendant of a complaint against him or her within a reasonable amount of time so that the defendant is not prejudiced by having an action filed аgainst him or her long after the time he or she could have had to prepare a defense against a claim.
Id.
at 873,
On the other hand, a rule that a statute of limitations continues to run against a counterclaim until it is actually filed would encourage great mischief. A plaintiff with a relatively weаk claim, knowing that the defendant has a claim that could more than defeat the plaintiff’s claim, could wait until the eleventh hour to file a petition and wait beyond the statute of limitations to serve process on the defendant, precluding any possibility of the defendant’s being able to counter the plaintiff’s action. The purpose of а statute of limitations is to prevent recovery of stale claims. The purpose “is not intended to bar nor smother any mere defense of a party so as to compel him to stand dumb and mute while his antagonist bludgeons his head with every weapon in the book of legal, offensive warfare.” (Emphasis omitted.)
Liter
v.
Hoagland,
Hobbs’ counterclaim would not have been barred by the applicable statute of limitations, § 25-207, had he asserted it as an independent cause of action on the date Becker’s petition was filed. Thus, Hobbs’ counterclaim is not barred by the statute of limitations. With this conclusion, we need not consider Hobbs’ other assigned errors.
CONCLUSION
The limitation statutes within chapter 25, article 2, require only that a counterclaim be an enforceable cause of action on the date the relevant plaintiff’s petition is filed. Hobbs’ counterclaim is not barred by the statute of limitations, as it would not have been barred had it been asserted as an independent cause of action on the date Becker’s petition was filed. We therefore reverse the district court’s grant of summary judgment to Becker.
Reversed.
