Opinion by
Reeder, J.,The only question raised by the several assignments of error is whether the amount of $800 mentioned in the agreement between Stover and Spielman is in the nature of a penalty or liquidated damages. The construction of the learned court below of the contract was that the full amount stated in the written contract was to be paid under its terms by the defendant to the plaintiff in case there was any failure by the defendant to keep any of the covenants entered into by him. There was no denial by the defendant that he had broken these covenants, but his contention was that the sum mentioned in the contract was in the nature of a penalty, and that the plaintiff was only entitled to recover the amount of damages which he had actually sustained to an amount, not exceeding $800. It is true that no definite rule to determine whether a stipulated sum to be paid on a breach of contract is a penalty or liquidated damages can, be laid down, which is not subject to exception, and the courts in determining that question will always regard the equities of the case, yet there are certain rules of construction in regard to contracts of this class. Sedgwick in his work on the Measure of Damages, 8th edition, 1891, vol. 1, pp. 549 et seq., states certain canons of construction applicable to contracts of this character.
(1) “ When, independently of the stipulation, the damages would be wholly uncertain and incapable or very .difficult of being ascertained, except by mere conjecture, then the damages will usually be considered liquidated: ”
(2) “ Where a party binds himself in a sum named not to carry on any particular trade, business or profession, within certain limits or within a specified period of time, the sum named will be regarded as liquidated damages and not as a penalty: ”
(3) “ A sum fixed as security for the performance of a con*531tract containing a number of stipulations of widely different importance, breaches of some of which are capable of accurate valuation, for any of which the stipulated sum is an excessive compensation, is a penalty.” Conversely as given from Bagley v. Peddie, 16 N. Y. 469.
(4) “ When the covenant is for the performance of a single act or several acts, or the abstaining from doing some particular act or acts, which are not measurable by any exact pecuniary standard, and it is agreed that the party covenanting shall pay a stipulated sum as damages for a violation of any of such covenants, that sum is to be deemed liquidated damages and not a penalty : ”
Each of these canons is supported by decisions of the Supreme Court of our own state. The first by Clements v. Railroad Co., 132 Pa. 445. The second by Kelso v. Reid, 145 Pa. 606; Cushing v. Drew recognized in Moore v. Colt, 127 Pa. 289; and also in Dakin v. Williams, 17 Wend. 447, and 22 Wend. 201. The third and fourth by March v. Allabough, 103 Pa. 335; Shreve v. Brereton, 51 Pa. 175.
Applying these rules of construction to the case under consideration they fully support the charge of the learned judge of the court below. The business sold was a business established by the defendant in his own building, the stock and fixtures of a bakery and confectionery, together with an agreement that the plaintiff should have the right to occupy the premises for a certain stipulated term. The good will is not eo nomine mentioned in the agreement of sale, yet it is agreed that “ The said Stover is to have possession of the store and business and the premises necessary to carry on the business, etc. on the first day of September next, including every thing that belongs to the business and that is on hand and has been used by said Spiel-man in connection with his business.” That this is a sale of the good will of the business there can be no doubt. This was followed by Spielman’s agreement not to engage in business for himself or as clerk for any one else or not to permit his wife to do so in Greencastle. Clearly when this covenent was broken by Spielman engaging in business in Greencastle the damages sustained by Stover were “wholly uncertain and very difficult of being ascertained.” The amount of loss may increase with each year and may be greater in the future than it has been *532in the past. No positive testimony conld be given as to the amount of damages Stover would sustain. At best it would be mere conjecture. This, applying the first and second canons of construction above cited, would compel us to hold that this was liquidated damages and not a penalty. This we are compelled to hold under the decision of Kelso v. Reid, supra, where the defendant sold to the plaintiffs a general country store and agreed that he “ would not carry on the same kind of a business within a radius of two miles under a penalty of $1000.00 to be paid as liquidated damages without proof of loss or damage on their part.” In that case the Supreme Court say, “ This belongs to a class of cases where it is next to impossible to prove the full extent of the damages; and it was for this reason in part at least that the damages were liquidated by the parties themselves. Moreover the amount was reasonable. It is just as well that persons who sell out their business with its góod will, and stipulate as a part of the transaction not to carry on the same business within a given circuit, should understand that it means something, and that for a breach of such covenant they must respond in damages.”
The appellant claims that under the ruling of the Supreme Court in Keck v. Bieber, 148 Pa. 646, and Shreve v. Brereton, 51 Pa. 175, the sum named in the agreement must be regarded as a penalty and not as stipulated damages, for the reason that the acts of the defendant provided against are of wholly different degrees of importance. In Keck v. Bieber, supra, Justice Mitchell says: “The amount may be fixed by the parties in advance, but where a lump sum is named by them the court will always look into the question whether this is really liquidated damages or only a penalty, the presumption being that it is the latter. The name by which it is called is but of slight weight, the controlling elements being the intent of the parties and the special circumstances of the case. . . . The intent of the parties being therefore the principal object of ascertainment. Greenleaf lays down certain rules as the result of the cases, and among them that the sum is to be taken as a penalty where the agreement contains matters of different importance, and yet the sum is payable for the breach of any, even the least, (citing Gr. Ev. sec. 258). This rule is approved in Shreve v. Brereton, 51 Pa. 175.
*533This agreement provides that Spielman is not to go into business in Greencastle or within a certain distance thereof either for himself or as clerk for another, and is not to permit his wife to go into business for herself or as clerk. These stipulations all refer to the same thing, namely, that he is not to engage in the same business either directly or indirectly which he sold to the plaintiff. They refer to but one subject and are all intended to protect the plaintiff from the same thing, namely, the competition of Spielman or his wife. All the stipulations being designed to accomplish but the one purpose, one is of no more importance than another. The rule as laid down in Keck v. Bieber and as cited therein from Greenleaf is not applicable to the case under consideration. The rule as laid down in Streeper v. Wilson, 48 Pa. 450, is the recognized rule of construction in contracts of this character: “ In each case we must look at the language of the contract, the intention of the parties as gathered from all its provisions, the subject of the contract and its surroundings, the ease or difficulty of measuring the breach in damages and the sum stipulated, and from the whole gather the view which good conscience and equity ought to take of the case.”
If we look at this agreement and its surrounding circumstances for the purpose of gathering the intention of the parties, we are forced to the correctness of the conclusion arrived at by the learned judge of the court below, that this sum was inserted with the understanding it was to be liquidated damages. Its purpose is clear. Stover purchased Spielman’s business which was established in a house owned by Spielman. At any time after two years and six months, the term which the defendant agreed to lease his storeroom to the plaintiff, it was possible for the defendant to refuse him a further lease and resume business himself at the old stand, thus taking to himself not only the custom which the place may have had from those who were patrons when he sold it, but also some patrons who went to the place while kept by Stover. What the extent of the injury to Stover might be were this-done, would be so difficult of ascertainment that the intention of the parties clearly seems to have been to fix it at the liquidated sum of $800 in the agreement.
Judgment affirmed.