The cause of action stated in the complaint is the temporary suspension of the work by defendant, which it is conceded it had a right to do, its failure to permit plaintiff to resume after the lapse of a reasonable time, and the damage accruing to plaintiff for the wrong thus done. The denials in the answer put in issue these allegations. The answer alleges that the work was stopped by defendant under its option reserved in the contract, to terminate it at any time, and also that the contract was terminated because, in the opinion of the chief engineer, the terms of it had not been observed by the plaintiff. A brief examination of the contract will materially aid us in the investigation of the record, and this we proceed to do before taking up the questions presented for review.
The first and second paragraphs provide for the quality of workmanship to be employed, the time within which the enterprise was to be completed, and the arbitrator to judge both of the quality of the workmanship, and the method and means for its accomplishment.
The third paragraph, after an agreement by plaintiff not to assign the contract or sublet any of the work, and to employ men satisfactory to the chief engineer, then provides that the *276work must be prosecuted at suck time or times, and at suck points, as this arbitrator or referee might direct.
The fifth and sixth paragraphs contain special provisions touching the right of the defendant to stop all work under the contract, and its rights in case this should be done. The former has reference generally to all the conditions of the contract; the latter emphasizes the element of time. The right to terminate the contract entirely for failure of performance of any one of its material stipulations is to be found only in these two provisions, unless it be in paragraph é, to which reference will be made hereafter. It is clear, also, from an examination of them in the light of the other provisions, that it was the intention of both parties at the time of signing the instrument that the work should be prosecuted continuously to completion, and that it should be completed within the time fixed in the contract. While the chief engineer is named as the arbitrator whose judgment should determine that an exigency had arisen justifying the termination of the contract, yet it is clearly implied that this judgment should be exercised in good faith. There is nothing more in either one of these paragraphs than would be implied in any contract, — so far as concerns the right in either party to terminate it when the other failed or' refused to comply with its provisions, exc'ept that, as to the matter of time, the engineer could, upon reaching the conclusion that the work was not getting forward fast enough, order an increase of force, and cancel the contract for disobedience. The reservation of the right to cancel in the fifth paragraph clearly has reference to the stipulations of the second paragraph as to means and help, and the period within which performance must be accomplished, while the sixth has reference to the performance of the terms and conditions of the contract generally.
The seventh and ninth paragraphs have been omitted from this discussion, because their provisions are not in controversy here.
The eighth paragraph is the one upon which this action is predicated. Upon his interpretation of the expressions, “stop *277any work or diminish the force employed,” and “shall stop the work or diminish the force,” the plaintiff reaches the •conclusion that the defendant had the right to stop the whole enterprise temporarily, to be resumed after a reasonable time under more favorable auspices. Now, while it is competent for parties to incorporate in their contract a stipulation that the enterprise may be stopped temporarily, or even abandoned •entirely at the option of either, and while they may stipulate, independently of the contract, for temporary or permanent abandonment of the work during its progress, we do not think this paragraph susceptible of the interpretation given to it by the plaintiff. The reservation is not the right to stop the work or discharge the force, but ‘ ‘to stop any of the work or diminish the force.” Though the words “stop the work” are used in the latter part of the paragraph, yet they have reference, clearly, to the same thing with reference to which the necessity might arise, viz, ‘ ‘to stop any [that is, some] of the work or diminish the force. ’ ’ This becomes clear when reference is made to the latter part of paragraph 3, wherein it is provided that thé work shall be prosecuted “at such time or times, and in such manner, and at such particular points on the line of said work,” as the engineer shall direct; bearing in mind, meanwhile, the fact that both parties intended that the enterprise should be prosecuted to completion, and that the tunnel was to be used during the progress of the work. It is to be remembered, also, that the defendant was to furnish car service for plaintiff to enable him to handle his materials. This was to be without expense to plaintiff. Safety in the handling of cars was a matter of prime importance. The business of the company must proceed. Therefore paragraph 8 must have been inserted for the purpose of enabling the defendant company to control the amount of such service, and, to a reasonable extent, the number of men employed, as well as the distribution of the various bodies of the force along the line of the tunnel; otherwise, the contractor could demand so much car service, and so fill up the tunnel by his forces and appliances, as to greatly impede the usual operations of the company to the inconvenience of its patrons.
*278Turning now to paragraph 4, we find that the engineer is made the final judge of two things, — the construction to be put upon the contract, and the fact of performance by the plaintiff. Differences of opinion between the parties as to both these particulars are to be determined by him, and from this determination there shall be no appeal. It is now the well-settled doctrine, by the great weight of authority, that parties cannot stipulate beforehand to submit their rights generally to the judgment of a designated third person for final determination. The effect of such a stipulation is to oust the courts of their jurisdiction, and to restrict the parties from enforcing their rights under the contract by the usual legal proceedings in the ordinary tribunals. There is some conflict of authority upon this subject in the reported cases, but we do not think the question open to discussion in this state. ‘ ‘The question as to how far courts Will be governed by a provision in the contract requiring that controversies arising as to. the rights and liabilities of parties thereunder be submitted to arbitration has engaged the profound consideration of both American and English courts of last resort. The conclusion reached, and probably settled beyond further controversy, is that a provision in a contract requiring all differences or controversies arising between the parties as to their rights and liabilities thereunder to be submitted to arbitration will not be allowed to interfere with or bar the litigation of such controversies when brought into court. ’ ’ (Randall v. American Insurance Co., 10 Mont. 340, 25 Pac. 953.) The principle stated in this passage has since been enacted in the Civil Code of 1895, and may be found in Section 2245. This section of the Civil Code we hold to be a statement in the form of a. statutory enactment of the common law as it existed in this state prior to the adoption of the Codes in 1895. For other authorities supporting this principle, see Utter v. Travelers Insurance Co., 65 Mich. 545; Reed v. Washington Insurance Co., 138 Mass. 572; Noyes v. Marsh, 123 Mass. 286; German-American Insurance Co. v. Etherton, (Neb.) 41 N. W. 406; Bauer v. Sampson Lodge No. 32, K. of P., (Ind. Sup.) 1 N. *279E. 571; Insurance Co. v. Morse, 20 Wall. 445; Pres. etc. D. & H. Canal Co. v. Penn. Coal Co., 50 N. Y. 218; Hancock v. Yaden, (Ind. Sup.) 23 N. E. 253; Barron v. Burnside, 121 U. S. 186, 7 Sup. Ct. 931; Supreme Council Order Chosen Friends v. Forsinger, (Ind. Sup.) 25 N. E. 129; Bac. Ben. Soc. Sec. 450; and B. &. O. & C. Railway Co. v. Scholes, (Ind. App.) 43 N. E. 156, 56 Am. St. Rep. 312. This paragraph of the contract is therefore void in so far as it seeks to bind plaintiff to submit without appeal to the construction given by the agent of the company, but valid in so far as it stipulates that the engineer shall be the judge as to whether the specifications of the contract have been complied with by the plaintiff, provided always that this judgment should be exercised honestly and in good faith.
There is much contention in the briefs of counsel touching °the validity of this section, but the other stipulations are in this Court assumed to be valid, and we think this assumption correct. We do not find in the contract any ground for the assumption by defendant that it had any option reserved to abandon the enterprise at any time, without reference to the rights of plaintiff. It did not belong to the umpire to construe the contract, and, in the absence of a strained construction, we cannot find this option.
At the close of plaintiff’s proof, defendant moved for anon-suit upon the ground that the proof did not support the allegation of the plaintiff’s complaint that the defendant stopped the work temporarily, and wrongfully refused to resume it again. This motion was denied. We think this was error. The proof offered by plaintiff did not tend in any way to support the breach of the contract alleged in the complaint. It failed to show that the defendant intended to suspend the work temporarily, and resume it again after a reasonable time. It tended to show the contrary. It tended to show, and did show, that at the time the work was stopped the defendant intended to stop it permanently, and that the plaintiff so understood it, or should have so understood it. The evidence upon this subject is embraced in a series of letters and telegrams *280between plaintiff and N. D. Miller, chief engineer of defendant, bearing date from September 28, 1893, until about the end of the year. . The material parts of this correspondence follow:
Telegram from Wortman to Miller, September 28th: “If you cannot send money due, I shall quit work on tunnel tomorrow night at company’s risk. ’ ’
Letter from Wortman to Miller, October 4th: “I have shut down work on tunnel No. 6, and cannot proceed, for following reasons: You will see from inclosed statement that there is due me about $36,390. My plant at tunnel and quarry is about $27,000, making my resources $63,000. The pressure in money matters is such that, while the money due me from the company is good, I am compelled to pay for my supplies and labor! The money received yesterday, $2,590.-15, will be applied to time checks, leaving nothing for supplies. I owe on account of tunnel work that the company might have to pay about $17,000. What 1 ask you to do is to forward forthwith my August estimate, and pay for May and June slides, so I can pay for supplies and tunnel work. If you cannot do this, I can go no further with the work until the money comes. ” . •
Telegram from Miller to Wortman, October 10th: “Letter of instructions was sent you at Helena on the 5th. Please get it there. ’ ’
Same from Miller to Wortman, October 12th: “Please do work at tunnel as per my letter to you and J. C. Patterson of the 5th, and then stop all work until further notice. ’ ’
Same from Wortman to Miller, October 9th: “Have not received your letter of the 5th or any other letter regarding work at tunnel 6. I shall obey your instructions regarding this work if I can. Please wire at Portal.”
Same from Wortman to Miller, October 12th: “Will work as per instructions to J. C! Patterson and myself of 5th, reserving my rights in the matter.”
Letter from Wortman to Miller, October 11th: “Your letter of October 5th I found in Helena last night when I came *281home from quarry. As I have written you, I shall proceed with work as you have ordered, and then stop the work, unless you order otherwise. This action on your part will work a hardship on me that I cannot recover from. The cause for your action, as per your letter, is stopping the work the last time for one day. On that day I distributed stone at bridges for culverts; the one time only before, the tunnel engine needed repairs, and was out to Helena for that purpose. ’ ’ Alter recounting his efforts to do the work to the satisfaction of E. R. McNeill, the assistant engineer of defendant, the unexpected outlays made by plaintiff, and other matters, the letter then proceeds: “However, should you deem it just,and right to terminate the contract, and pay me moneys that may be due, and the 10 per cent, retention, and allow me a fair valuation for my plant at tunnel and my quarries, I suppose I ean have nothing further to claim. * * * Hoping you will reconsider your last decision, and allow me to proceed with this tunnel work, I await your reply to this letter.”
Letter from Miller to Wortman, October 14th: “In answer to your letter of the 11th, would say that this company cannot at the present time stand the additional expense that it is put to on account of your not completing your contract on time, as it costs this company over $60 per day for every day that you are working at the tunnel, and as it would probably take you about a year more than your contract time to complete the work, thus putting this company to an additional expense of about $25,000 or more, and at the present time we do not feel that we could incur this additional expense. * -A? ■<£
“But the main question now is about the stoppage of the work. The company does not feel that they should go on with this increased expense at the present time, and you will please stop work as soon as you have it all completed, according to my previous letters. ’ ’
Letter from Wortman to Miller, October —: “I shall probably finish work at tunnel 6 about the 20th of this month, as per your letter of instructions.
*282“I desire respectfully to call your attention to some facts in regard to this work, to show you that I have diligently prosecuted this work to the exclusion of everything else. I have invested all I had, borrowed all I could,- — about twenty-seven thousand dollars, ■ — in good faith, believing I should finish the work, enabling me'to pay for plants-I bought on account of this work. But your order to quit makes it impossible for me to pay my debts, and leaves me a pauper. As I told you in St. Paul, this is bitter medicine. I shall take it as best I can, but desire to ask you if this is right treatment, as between your company and myself. * * *
“If your company, through you, its chief engineer, shall terminate the contract, and by its action pauperize me, I suppose I shall have to suffer it, but shall do so knowing that I have honestly, industriously and continuously prosecuted this work at all times under the immediate supervision of E. R. McNeill, engineer in charge. I desire, if it is possible for you to do so, to continue this work, if not under the present contract, some other way, or employ me in some way so I can at least pay the debts incurred by me for this work, or fix a time in the near future that I may proceed with work. I hope you will pardon me for writing so long a letter. Please answer as may seem best to you for all parties. ’ ’
Letter from Miller to Wortman, November 24th: “I received a letter from you a few days ago, without date; and, from the tone of the letter, it would seem that you think you have not been treated fairly in respect to your work at tunnel 6. I do not think that you have any just cause for complaint in relation to this work, as far as I am concerned, as you will recollect, when the work was first turned over to me, I wrote you, urging you to put on more men, and complete the work on contract time. I think you could have very nearly done this, .if you had tried. You say in your letter that Mr. Beckler wanted good material and labor. This was especially provided for in the contract, and I do not think the labor or material is anything better than provided for in the contract.
“In relation to buying the contractor’s outfit, of course *283that is something that the company had nothing to do with, and you were supposed to know more about it than they were at the time you bought it. The same in relation to the quarry. * * *
‘ Tf anything should come up whereby the work is allowed to go on, I shall be glad to communicate with you in relation to the same. ’ ’
Letter from Miller to Workman, December 31st: “In relation to the completion of the lining of the Wickes tunnel, or tunnel No. 6, or any further work in relation to the said lining, would say I cannot make any promises at the present time as to when work will be resumed again, or upon what terms. I think, however, that when work is resumed we shall be able to make an agreement with you to do the work; but I would suggest that you put your tools at the quarry and at the tunnel in good shape where they are. We may possibly commence work again next summer; but I wish you to distinctly understand that I make no promises as to when the work will be commenced, or who will do it when it is commenced.
“The railway company does not wish to purchase any cement or brick at the present time, but, however, I wish you would write me what you can sell same for at Helena or Butte. ’ ’
Letter from Wortmán to Miller, January 9th: “Replying to your letter of December 31st, will say that I shall act on your suggestion, and put tools and appliances for getting out rock and tunnel lining in good shape where they are, and hold myself in readiness to resume work on tunnel No. 6, or to do any other work you may desire in the future. I hope you can put me to work soon. There is no sale for brick at present, and Louisville cement is not used here, that I know of. Cement is stored in a good house at tunnel, and will be kept dry. Sixty thousand brick I unloaded at tunnel; two cars are in yard at Helena. Brick and cement can be used in culverts when they are finished. As my two sons and myself will have to be at tunnel and quarry more or less this winter, will you *284kindly direct passes, issued for Daniel P. Wortman, Great Falls to Anaconda; George Wortman, Great Falls to Anaconda; and William Wortman, Helena to Basin.”
In addition to these communications, there were several others introduced, bearing date from January 1, 1895, to April-5, 1895, containing inquiries from Wortman as to when work would be resumed at the tunnel, and propositions to do other work in case there was no intention on the part of defendant to complete the tunnel. This correspondence also shows that the defendant, through its chief engineer, notified plaintiff on March 18, 1895, that he could resume work long-enough to complete 500 feet more of the tunnel, but that re-, spondent refused to begin, except under a different contract, claiming that the defendant had violated the original contract. He was subsequently informed by the chief engineer that he had given this notice through a misconception of the facts, because upon an examination of all the correspondence of the year before, he found that the original contract had been canceled. This engineer wak the successor to Miller, the engineer in charge at the time the contract was made.
This is all the proof on the subject of the stoppage of the woik at the tunnel, except that plaintiff says he knew the contents of the letter of October 5th, referred to in the foregoing correspondence, and that the correspondence after that date had reference to the orders contained in it. This letter was not introduced in evidence, because plaintiff denied, when it was offered, that he had ever seen it. It is fair to infer from an examination of the communications which passed between the parties after October 4th that the plaintiff was, in the letter of the 5 th, notified that his contract was terminated, and that he so understood it. It is also clear that the reason alleged on the part of defendant was that plaintiff had failed to finish the work by the time named in the contract. If any conclusion is to be gathered from this correspondence, this must be the correct one, else the plaintiff would not have used the expressions he does in these letters as to the hardship resulting to him from a cancellation of the contract after he was *285in such good shape to complete it. Neither would he have made an effort to sell his supplies and his machinery and quarry. If any doubt was left in his mind at all as to the intention of the company, surely this was set at rest, or should have been, by the language of the chief engineer in the letter of December 31, 1893, where he says: “We may possibly commence work again next summer; but I wish you to distinctly understand that I make no promises as to when the work will be commenced, or who will do it when it is commenced. ’ ’ To the same effect is the last paragraph of the letter written by Miller to plaintiff on October lith. The use of the expressions, “until further notice,” and “at the present time, ’ ’ frequently occurring in the correspondence, cannot, in the face of the other facts and statements appearing therein, be construed to mean that the defendant was attempting to stop the work temporarily, under any clause of the contract; for we have seen that the contract contains no provision empowering it to do so. Nor can they, with the other statements in the correspondence, be interpreted as a stipulation, independently of the contract, to stop the work temporarily. This correspondence, together with the other evidence of .the plaintiff, all of which we have examined with the greatest care, tends to show, if anything at all, that the defendant wrongfully canceled the contract, and thereby damaged plaintiff,— an entirely different cause of action from that alleged in the complaint. The motion for nonsuit properly presented the question, and it was incumbent upon the court to interpret this evidence. This was the office of the court in any event, for it was a matter of intention of the parties as expressed in these writings, and this intention was for the court, and not for the jury, to determine; and it seems to us that it is impossible to reach any other conclusion than the one we have reached.
Nor does the proof introduced on the part of defendant aid the plaintiff’s case. An issue is made in the pleadings upon the plaintiff’s cause of action, and the defendant maintained its position there assumed throughout. It maintains its posi*286tion in this Court. Nor can it be contended successfully that the variance is an immaterial one. The plaintiff is seeking to recover on a cause of action accruing from an alleged wrong for an act of defendant long after October 5, 1893, while his proof tends to establish another breach of the contract for another wrongful act at that time. If the question had not been raised during the trial in the lower court, we should hold that the defendant could not now complain, but it preserved its rights, and we do not feel that we can properly ignore the question as presented here, and treat the case as if the pleadings had been properly amended at the trial so as to cure the substantial variance. This is not a new question in this Court. (Childs v. Ptomey, 17 Mont. 502, 43 Pac. 714; Newell v. Nicholson, 17 Mont. 389, 43 Pac. 180; Maul v. Schultz, 19 Mont. 335, 48 Pac. 626.) In the case of Maul v. Schultz, supra, this Court said: “ELe (plaintiff) cannot be permitted to mend his hold after litigation has begun, change his ground, and upon new aspects of the case shift his position from that taken and relied on before the court. ” Upon another trial of the cause totally different aspects may be presented by the proofs, and the results may be different.
But, apart from this aspect of the case, we do not think the verdict can be sustained. Under the allegations of the answer, the defendant undertook to establish the fact that it canceled the'contract in October, 1893, because-the work was not completed by August 1, 1893, as in the contract provided. The plaintiff, in rebuttal, endeavored to show that his failure in this regard was due to the failure on the part of defendant to pay moneys due from time to time for work done, according to the monthly estimates. Proof was offered to show that slides occurred in the tunnel during the months of May and June, 1893, which had been removed by plaintiff, and that the pay due for this work, amounting to about $1,500, had been withheld for several months, to the great embarrassment and delay of plaintiff. The contract provided for the removal of such slides, but, when- these of May and June occurred, they were of such dimensions that the plaintiff refused to re*287move them under the contract; claiming that the contract did not cover them, and that such were not contemplated at the time the contract was signed. The defendant finally agreed that they were not covered by the contract, and further agreed to pay for their removal independently of the contract, and at a better price per yard. This proof was admitted over the objection of defendant. This was error. The failure to pay this sum under the provision of the contract (that is, on or before the 25th of the month following the one in which the work was done) was in no sense of the word a violation of the contract on the part of defendant under the issues as made up by the pleadings; it had nothing more to do with the fulfillment of the contract by defendant than the failure of any other person to pay plaintiff what was due him. Besides, the proof having already shown that plaintiff refused to construe the contract so as to cover these slides, and that his construction had been conceded by defendant, he should not have been allowed to allege the failure on the part of defendant to pay for them under the contract as a breach of duty in defendant.
The instructions are in material respects erroneous. The plaintiff alleges that the defendant stopped the work temporarily through the chief engineer. The defendant admits that it stopped the work, but says the stoppage was permanent, and not temporary. There is therefore no issue made as to the authority of the engineer to perform the particular act. The issue is as to the nature of this act. The court undertook to instruct the jury fully as to how the engineer should get his authority to stop the work, and the mode in which he should exercise it. For example, the charge of the court in paragraphs 6 and 9 was as follows:
“(6) The burden is upon the defendant to show by a preponderance of the evidence that, in the opinion of the chief engineer, plaintiff either refused to prosecute, or was not prosecuting, the work with reasonable diligence, before you can find that the defendant had the right to terminate said contract' under the terms thereof. Unless you find some fact sufficient to justify your minds that the chief engineer had *288formed such an opinion, and that he communicated such opinion to the defendant, you must find that no such opinion existed, and that, therefore, defendant had no right to terminate the contract under the terms thereof. ’ ’
“(9) Under the contract the chief engineer was not given the right to terminate the same without an opinion, but only to form an opinion as to whether the plaintiff was.prosecuting the work in accordance with the terms and provisions of the contract. If he formed such an opinion, the defendant could not take advantage thereof until said opinion had been communicated to it. If defendant, after such communication, if there was any, then desired to terminate said contract, the law would require such desire to be expressed to the plaintiff by a notice in accordance with these instructions. ’ ’
These instructions were neither necessary nor proper. Under the allegations in its answer, the defendant assumed responsibility for all the engineer had done in the premises; for it is alleged distinctly that the contract was canceled because the work was not done in time. The only question for the jury to determine in this connection was whether this action of the defendant was justifiable. There was no proof upon the subject to which the latter part of instruction 6 and the whole of instruction 9 refer. They therefore required the jury to embark in a blind speculation as to the mental processes of the engineer, and the course of his communications with his principal; and in this connection they might conclude properly that they should consider the mode of these communications, and the circumstances of time and place in relation to them. They were also left to infer, in the absence of proof, that the defendant, having failed to sustain the burden thus cast upon it, to establish the matters referred to and assumed in these paragraphs to be material, was therefore at fault, and should be held to have violated the contract. These para-, graphs also ignore the fact that the defendant had ratified the action of the engineer. This part of the charge was therefore confusing and misleading in its submission to the jury of matters foreign to the issues.
*289The jury were also instructed that, if they found from the proof that the defendant permitted the plaintiff to continue work after August 1, 1893, in the same general manner as before that time, without notifying plaintiff that it intended to -insist upon any delays or violations of the contract prior to that date, and cancel the contract because thereof, and without any agreement or understanding on the part of plaintiff that he should do certain work, and then stop, the defendant thereby waived any right to cancel the contract for anything plaintiff may have done or omitted to dó prior to August 1, 1893. This instruction is assigned as error. Under the facts, we think it correct. Defendant certainly had the right to waive any breach of the contract on the part of plaintiff, — the covenant relating to time as well as any other. If he was allowed to continue work under the contract after a brench, or after the date at which the work should have been completed, then the presumption would arise that such breach was waived by defendant, and that it intended that plaintiff should have a reasonable timé after the date fixed in the contract to complete the work.
Many other errors are assigned in th.e record, but the views we have already expressed are sufficient to guide the court below in a retrial of the cause, if the plaintiff desires to amend his pleadings in conformity with the suggestions made herein.
Let the judgment be reversed, and the cause remanded, with directions to grant a new trial.
Reversed and remanded.
Hunt and Pigott, JJ., concur.