¶1Defendant moves to dismiss plaintiff’s appeal, on the ground that she has accepted part of the benefits decreed by the modification of the original judgment, namely, she has had the custody of the children during the summer vacation.
¶2Upon rehearing of the motion to dismiss plaintiff’s appeal from the original decree, it was held that because she had accepted certain provisions granted therein she had estopped herself from appealing. Spratt v. Spratt, 140 Minn. 512, 166 N. W. 769, 167 N. W. 735. It will be noted that upon that appeal the questions as to. who of the parties was entitled to a divorce, the amount of the permanent alimony, and the custody of the children, were all ifor determination. As to the two propositions first named, plaintiff was in position to estop herself, but we are agreed that on this appeal, which deals solely with the custody of the children and their support, neither *461party should he held to have concluded the court. Even a written agreement with reference to the custody of a child is not binding on the courts, when the best interests of the child are shown to require a disposition contrary to that provided under the agreement. State v. Beardsley, 149 Minn. 435, 183 N. W. 956, and cases therein cited.
¶3The offer of defendant to consent to a reversal of the judgment-now appealed from should not be taken seriously, for it is apparent that what plaintiff seeks by the appeal is not a reversal but a modification, so that she will have the care and custody of the children beyond that granted by the modified judgment or decree.
¶4The motion to dismiss the appeal is denied.
¶5On March 17, 1922, the following opinion was filed:
¶6Lees, C.
¶7This is the third appearance of this case. Spratt v. Spratt, 140 Minn. 510, 166 N. W. 769, 167 N. W. 735; State ex rel. Spratt v. Spratt, 150 Minn. 5, 184 N. W. 31. It is now brought here by appeals from a judgment entered June 22, 1921, with which both parties are dissatisfied. The judgment to be reviewed amended one entered December 15,1917, by which the parties were absolutely divorced and the custody of four of their minor children awarded to the defendant and the custody of one to the plaintiff.
¶8On June 7, 1919, defendant remarried and the four children were thereafter under the joint care and supervision of their father and his second wife. On June 21, 1920, plaintiff procured an order requiring defendant to show cause why the custody of these children should not be awarded to her and a suitable allowance made for their support. The divorce action was tried before Judge Steele of the Hennepin county district court. He died before the application to modify the judgment was heard and it was heard by Judge Dickinson. - Numerous affidavits were presented and a large amount of oral testimony introduced. On June 15, 1921, an order was filed, with a memorandum made part of it, directing that the judgment should be amended as follows: All but the eldest of the four children -in defendant’s custody were given to the plaintiff for three *462months in each year- during the period of their school vacations. For the remaining nine months, plaintiff was to have them on alternate Saturdays, Sundays and holidays. The custody of the eldest child was left unchanged. It was further provided that the child whose custody had originally been awarded to plaintiff should go to the defendant during the three vacation months. Defendant was required to pay plaintiff $900 to defray the expenses of caring for the three children during the summer months, and she was directed to take them to a suitable camp or watering place. Plaintiff was allowed $500 for attorney’s fees in the proceeding. In his memorandum, Judge Dickinson said:
“The paramount issue … is the welfare of the children. … With this uppermost in mind, I find that the best interests of the three children (naming them) demand that a large share of their actual care and custody should be given to their natural mother … without otherwise disturbing the legal guardianship as now fixed by the decree.”
¶9
¶10It is earnestly contended in defendant’s behalf that the court has no power to modify a judgment in a divorce action, unless new circumstances and changed conditions are shown which render a modi-*463ii cation just, and equitable, and that plaintiff has failed to make the required showing. Crockett v. Crockett, 132 Iowa, 388, 106 N. W. 944, and Scott v. Scott, 174 Iowa, 740, 156 N. W. 834, support this contention, and so do a multitude of cases cited in Schouler, Mar. & Dir. § 1897, and in 19 C. J. 350. With respect to provisions for alimony, this court has ruled that the power to modify the judgment may be exercised only upon clear proof of new facts showing that the changed circumstances of the parties render the proposed modification equitable. Holmes v. Holmes, 90 Minn. 466, 97 N. W. 147; Haskell v. Haskell, 116 Minn. 10, 132 N. W. 1129. Probably the same rule should be applied in passing upon applications ifor a modification of a provision for the custody of minor children. It is un-necesary to decide and we do not now decide that question.
¶11The conditions are not the same as when the original judgment was entered. Defendant has remarried. By this change in his domestic relations, the supervision of the children has largely fallen to his young wife, 25 years of age at the time of the hearing. It may be true that her supervision is as competent as that of the housekeepers he employed before she took charge of his household and that the change is one for the better. Nevertheless it is but natural that, when his day’s work was done, defendant, who is a busy physician, should devote some of his time and attention to his wife to the partial exclusion of the children, who, prior to his remarriage, had his undivided companionship when he was at home. She will expect him to divide his allegiance to his children henceforth, in order that she may enjoy the attentions and companionship due from a husband to his wife. She has her own circle of relatives and friends and her individual interests into which defendant will enter.
¶12Another changed condition mentioned in the memorandum is that plaintiff is in better health and spirits now than when the decree was entered. The record shows that, when the trial of the divorce action ended, Judge Steele suggested that plaintiff go to California to regain, her health, taking her youngest child with her, adding that when she returned she might be better able to manage her household affairs than she was at the time of the trial. Apparently the suggestion was not adopted. The trial had been protracted. Plain*464tiff had been on the witness stand for several days. The contest was a bitter one. The details of the married life of the parties had been laid bare. We shall not repeat the sorry tale. Plaintiff was nervous, excitable, broken in health and lacking in judgment and self-control. This was four years ago. She has improved in health and spirits. Presumably she is now better fitted to give her children the care and companionship they should receive from their mother. Moreover, although their welfare is the determinative factor, her rights as their mother should receive some consideration, if such rights can be recognized without endangering the welfare of the children. Under our law the father and mother are the natural guardians of the minor children, and, if not unsuitable, are equally entitled to their custody. Section 7442, G. S. 1913; Jacobs v. Jacobs, 136 Minn. 190, 161 N. W. 525, L. R. A. 1917D, 971. In 1917 the court might have concluded it was inadvisable to give plaintiff the custody of all the children, even for a portion of each year. In 1921 her improved state of mind and body might well lead to a different conclusion. A trial court is always in a much better position than an appellate court to decide upon the custody of children. For this reason, its judgment should not be reversed unless grave errors are discovered, Mylius v. Cargill, 19 N. M. 278, 142 Pac. 918, L. R. A. 1915B, 154, Ann. Cas. 1916B, 941, or, as stated in Arne v. Holland, supra, unless there has been an abuse of discretion. We find nothing in the record to justify either party in asserting that there has been an abuse of discretion. The hearing of the application occupied several days. Both parties were given ample opportunity to present their evidence. Much of it came from witnesses who were subjected to a searching cross-examination. The trial judge saw and questioned the children in his chambers in the presence of counsel. His impressions were derived from first hand knowledge of the facts and the personality of the parties; we obtain ours from the perusal of the bulky records in the divorce action and in this proceeding. We are persuaded that the action of the trial court is justified both by the evidence and by human experience, for it is a truism that young children should have as much of the companionship of their mother as possible, for there is no satisfactory substi*465tute for her care. Plaintiff may not have been a wise mother, but she appears to have a real and. deep affection for her children. They are young and ought to have the daily care and companionship of their parents, but, since the family life has been ended, the courts, as best they may, should secure to each child, as far as possible, some part of the society and guidance of each parent. The objection is urged that divided control and custody should be avoided. Eberhart v. Eberhart, 149 Minn. 192, 183 N. W. 140. The children were separated by the original- order. More than four years have . since elapsed and the objection has much less weight than it would have had if made in the first instance. The division of time, under which plaintiff is to have the three children and defendant the other one during school vacations, seems to us the best that is possible under the circumstances.
¶13The sum and substance of the whole matter is that neither party has ground for serious complaint as to the disposition made of the control and custody of the children, and in this respect the judgment should be sustained.
¶14
¶15
¶16
¶17
¶18
¶19This disposes of all the questions requiring discussion, and the result is that the judgment is affirmed on both appeals.