Erin Colleen Zaback (Zaback), formerly known as Erin *613 Colleen DeVaux, filed an application to modify her dissolution decree to reflect that her former husband, Richard Arlen DeVaux II (DeVaux), was not the father of her minor child. The district court granted the modification, and the former husband appealed to the Nebraska Court of Appeals. Under our authority to regulate the caseloads of the appellate courts of this state, we removed the matter to this court. We reverse in part, affirm in part, and remand the cause with directions.
On February 14, 1979, Zaback and DeVaux married. On December 9, 1986, a child was born. On December 12, 1988, Zaback filed for dissolution of the marriage. On March 17, 1989, the district court entered its decree of dissolution. In entering the decree, the district court found that the minor child was the only issue born to the marriage. The court awarded Zaback custody of the minor child, subject to DeVaux’s reasonable visitation rights. The court ordered DeVaux to pay monthly child support.
On November 13, 1990, Zaback filed an application to modify the decree. In the application, Zaback alleged that she had discovered, through the administration of blood tests, that DeVaux was not the natural father of the minor child. Zaback requested that the court modify the decree by “specifically finding that [DeVaux] is not the fаther of the minor child of the parties” and by terminating the child support and visitation provisions of the decree.
DeVaux demurred to this application, alleging, among other things, that the minor child’s paternity was res judicata. The trial court overruled the demurrer. DeVaux then filed an answer alleging “unclean hands,” repeating the claim of res judicata, and requesting attorney fees. .
On March 26, 1991, the district court, on its own motion, held a hеaring. Zaback admitted that during her marriage to DeVaux she had sexual relations with her current husband, Terry Lee Zaback. Zaback also admitted that she had not informed DeVaux of her extramarital sexual relations until after the dissolution decree had been entered. According to her testimony, Zaback first questioned the minor child’s paternity in the summer of 1990, when she met Terry Lee Zaback’s family and noticed the family’s strong resemblanсe to her child. *614 Subsequent blood tests established a 98.4 percent likelihood that Terry Lee Zaback was the father of the minor child. At the close of the hearing, the court ordered additional testing to determine whether DeVaux could be the father of the minor child.
On January 2, 1992, the test results were furnished to the court, although they were not admitted into evidence. The court granted a continuance for trial and appointed a guardian ad litem for the minor child.
On February 20, the court held a trial on the application to modify. The court first invited Terry Lee Zaback to intervene in the action, and he intervened pro se. The parties then stipulated to the results of the blood tests, which established that DeVaux was “excluded from being the biological father of the child[.]” The court then heard additional testimony from all three parties. All three agreеd that the minor child has a substantial, beneficial relationship with DeVaux.
The district court found that Terry Lee Zaback was the natural father of the minor child. The court terminated DeVaux’s support obligation and his visitation rights; however, the court allowed for temporary visitation pending its receipt of a report by the guardian ad litem. (The court later extended the temporary visitation to include the pendency of this aрpeal.) The court ordered Zaback to repay DeVaux the child support payments she had received from December 1, 1990, through January 30, 1992. Finally, the court ordered each party to pay his or her own attorney fees and costs.
DeVaux appealed. DeVaux asserts, in summary, that the trial court erred (1) in overruling the demurrer; (2) in allowing Terry Lee Zaback to intervene; (3) in finding that Terry Lee Zaback was the father оf the minor child; (4) in denying DeVaux the opportunity to testify regarding his relationship with the minor child; (5) in ordering Zaback to return only a portion of the child support payments she had received; and (6) in failing to award DeVaux attorney fees and costs.
DeVaux first asserts that the trial court erred in overruling his demurrer. DeVaux argues that the demurrer should have been sustained because the minor child’s paternity was res judicata by virtue of the dissolution dеcree. This argument presents us *615 with this question: Under the doctrine of res judicata, does a finding of paternity in a dissolution decree prevent the parties to the decree from relitigating paternity? We answer this question: Yes.
In considering a demurrer, a court must assume that the pleaded facts, as distinguished from the legal conclusions, are true as alleged and must give the pleading the benefit of any reasonable inferences from the facts alleged; however, a court cannot assume the existence of facts not alleged, make factual findings to aid the pleading, or consider evidence which might be adduced at trial.
Wheeler
v.
Nebraska State Bar
Assn.,
The doctrine of res judicata rests on the necessity to terminate litigation and on the belief that a person should not be vexed twice for the same cause.
Dakota Title
v.
World-Wide Steel Sys.,
As a threshold matter, we must consider whether the minor child’s paternity was directly addressed or necessarily included in the parties’ dissolution proceeding. The application to modify alleges that under the provisions of a previously entеred dissolution decree, Zaback was awarded custody “of the minor child
of the
parties.” (Emphasis supplied.) This language indicates that the dissolution proceeding directly addressed the minor child’s paternity. Cf.
State ex rel. Ondracek v. Blohm,
Having found that the minor child’s paternity was adjudicated in the dissolution proceedings, we must now decide whether the four elements of res judicata are present.
We must first determine whether the paternity findings in the dissolution decree were rendered by a court of competent jurisdiction. The application to modify, addressed to the district court for Sarpy County, Nebraska, alleges that a dissolution decree was entered “herein.” We read this allegation to mean that the district court for Sarpy County entered the dissolution decree. The district courts of Nebraska have jurisdiction to enter dissolution decrees. See Neb. Rev. Stat. § 42-351 (Reissue 1988). In entering such decrees, the district courts also have jurisdiction to determine whether the husband is the father of any minor children to be supported as a result of the dissolution
*617
proceedings.
Younkin, supra; Farmer v. Farmer,
Second, we must determine whether the paternity findings in the dissolution decree constitute a final judgment. Courts which have addressed this issue have overwhelmingly ruled that the paternity findings in a dissolution decree are a final judgment and are res judicata. See,
Ex Parte Presse,
Zaback contends that under certain circumstances paternity findings in a dissolution decree are not final. Zaback relies primarily on two cases:
Cline
v.
Cline,
In
Cline,
the court entered a default decree dissolving the marriage and awarding custody of the minor child to the husband. The wife subsequently filed a motion to modify the decree. The wife alleged that her husband had promised her,
*618
prior to the entry of the decree, that he would make sure she got custody of the minor child if she did not “ ‘cause any problems.’ ”
[W]here facts affecting the custody and best interests of children ... are not called to the attention of the court, and, particularly in default cases, where the issues affecting custody have not been fully tried, the court, upon a proper motion for modification, may consider all facts and circumstances, including those existing prior to and at the time of the judgment or decree, in making a subsequent determination of custody.
(Emphasis supplied.)
Id.
at 622,
Cline
is a custody case. Custody is based on the best interests of the child. In contrast, paternity is not based on the best interests of the child. The fact that child custody may be modified does not permit paternity findings to be disturbed.
Arnold, supra.
See,
Soltis v. Soltis,
In
Younkin,
the dissolution decree named the husband as the father of the parties’ unborn child and ordered the husband to pay child support. Within 6 months of the date of the decree, the husband brought an action to modify the paternity findings of the decreе pursuant to Neb. Rev. Stat. § 42-372 (Reissue 1984), which provided: “A decree dissolving a marriage shall not become final or operative until six months after the decree is rendered .... [T]he court may, at any time within such six months, vacate or modify its decree.” During the 6-month period, the control of the decree rests within the discretion of the trial court.
Zachry
v.
Zachry,
The decree in Younkin was not a final judgment. The husband in Younkin was permitted to challenge the paternity findings in the decree because the 6-month waiting period had not elapsed and the decree had not become “operative” or final. The holding of Younkin was based on the specific statutory provision under which the husband sought relief. The present version of that statute also provides for a 6-month waiting period before a dissolution decree becomes final. See § 42-372 (Reissue 1988). In the present action, Zaback’s application to modify was filed long after the 6-month waiting period had expired. Younkin is inapplicable to the present action.
One final case, not сited by either of the parties, merits discussion. In
Snodgrass
v.
Snodgrass,
We find the cases from other jurisdictions persuasive and not in conflict with any of our prior decisions. “There is no more forceful example of the rationale underlying the requirement of finality of judgments than the chaos and humiliation which would follow from allowing [persons] to challenge, long after a
*620
final judgment has been entered, the legitimacy of children born during their marriages.”
Hackley v Hackley,
Third, we must determine whether the dissolution decree was a judgment on the merits. For purposes of res judicata, a judgment on the merits is one which is based on legal rights, as distinguished from mere matters of practice, procedure, jurisdiction, or form.
Kerndt
v.
Ronan,
The application to modify alleges that a dissolution decree was entered and that the decree provided for custody “of the minor child of the parties,” child support, and visitation rights. In entering the decree, the district court reached the merits of the рarties’ cause — the dissolution of their marriage — and decided the issue of paternity. The decree was not based on technical procedural grounds. The dissolution decree was a judgment on the merits.
Fourth, we must determine whether the parties are identical in both proceedings. This issue is beyond dispute. Zaback and DeVaux, the parties to the dissolution action, are the same parties identified in the application to modify.
We conclude that under the doctrine of res judicata, a finding of paternity in a dissolution decree precludes the parties to the decree from relitigating paternity.
Zaback argues that the doctrine of res judicata notwithstanding, the district court’s independent equity *621 jurisdiction provides the authority for the court to vacate or modify the decree. Assuming, without deciding, that Zaback’s argument is correct, we find that Zaback is not entitled to a new trial.
A litigant seeking the vacation or modification of a prior judgment after term may take one of two routes. The litigant may proceed either under Neb. Rev. Stat. § 25-2001 (Reissue 1989) or under the district court’s independent equity jurisdiction. See,
Joyce
v.
Joyce,
Under § 25-2001, a district court has the power to vacate or modify its own judgment after term for one of nine reasons enumerated in the statute. The only one of these reasons applicable to Zaback’s claim is a motion for new trial based on newly discovered evidence. See § 25-2001(1). For purposes of the following analysis, we will treat Zaback’s application to modify as a motion for new trial on the basis of newly discovered evidence. Cf.
Abboud
v.
Cutler,
In the present action, Zaback is not entitled tо relief under § 25-2001 because she is out of time; claims of newly discovered evidence must be filed within 1 year of the final judgment. See Neb. Rev. Stat. § 25-1145 (Reissue 1989). However, this does not dispose of Zaback’s argument because, as stated above, § 25-2001 is not the exclusive remedy for vacating or modifying a judgment after term. Section 25-2001 is concurrent with the courts’ independent equity jurisdiction. Joyce, supra; Emry, supra. We find, however, that Zaback’s application to modify does not survive demurrer because it does not comply with the substantive requirements for a motion for new trial on the basis of newly discovered evidence.
As a general rule, in order to make a sufficient showing for a new trial on the grounds of newly discovered evidence, the proof in support thereof must show that such evidence is now available which neither the litigant nor counsel could have discovered by the exerсise of reasonable diligence and that the evidence is not merely cumulative, but competent, relevant, and material, and of such character as to reasonably justify a belief
*622
that its admission would bring about a different result if a new trial were granted.
Ipock
v.
Union Ins. Co.,
Newly discovered evidence is not grounds fоr a motion for new trial where the exercise of reasonable diligence would have produced the evidence.
Miles v. Box Butte County,
We hold that under the doctrine of res judicata, a finding of paternity in a dissolution decree precludes the parties to the decree from relitigating paternity. In addition, Zaback has failed to allege facts which would entitle her to a new trial on the basis of newly discovered evidence. Accordingly, Zaback cannot maintain the present action to modify the paternity findings of the decree. We express no opinion regarding Terry Lee Zaback’s right or ability to maintain a paternity action.
Because Zaback’s application to modify is fatally deficient, the district court erred in failing to sustain DeVaux’s demurrer on the ground of res judicata. Following the sustaining of a demurrer, the losing party is entitled to amend the pleadings unless there exists no reasonable possibility that amendment will remedy the deficiency.
Hoch
v.
Prokop,
In the present action, no amendment can alter our conclusion of res judicata. Upon a review of the record, it appears that Zaback also would be unable to amend her pleading to remedy her deficiency regarding reasonable diligence.
For purposes of a motion for new trial on the basis of newly discovered evidence, “reasonable diligence” means appropriate action where there is some reason to awaken inquiry and direct diligence in a channel in which it will be successful.
State v. Munson,
Zaback testified that she first questioned the minor child’s paternity in July 1990, when the child was 3V2 years old. Zaback called Boys Town, which directed her to the University of Nebraska Medical Center, which in turn directed her to call either an attorney or a medical doctor. Zaback contacted counsel, and the tests were performed in August 1990. Zaback testified that at all times prior to the entry of the decree she was unaware that blood tests could determine the minor child’s paternity. Zaback’s belated realization regarding the minor child’s paternity and her lack of awarenеss regarding blood tests are immaterial. Zaback was aware of her extramarital sexual relations. These sexual relations provided her with “some reason to awaken inquiry” as to the paternity of the minor child. If Zaback had been reasonably diligent, she would have discovered the possibility of blood tests at an earlier date. We conclude that Zaback is not entitled to amend her application.
In view of our decision that the district court should have sustained DeVaux’s demurrer, we need not consider summarized assignments of error (2) through (5), which allege errors occurring at trial.
DeVaux asserts that the trial court erred in failing to award him attorney fees. In a proceeding to modify a dissolution decree, the decision to award attorney fees rests within the trial court’s discretion.
Meyers
v.
Meyers,
In summary, we hold that the trial court erred in overruling DeVaux’s demurrer but did not err in denying DeVaux fees and costs. Accordingly, we reverse in part and in part affirm. We remand the cause with directions to sustain the demurrer without leave to amend. As a result of our decision today, the provisions of the divorce decree, including those provisions for support and visitation, are reinstated.
Affirmed in part, and in part reversed AND REMANDED WITH DIRECTIONS.
