delivered the opinion of the court.
This is an appeal from a decree of the Circuit Court of Wythe county, dismissing on demurrer the bill of appellant, filed against the Max Meadows L. & Imp. Co., for the specific execution of an alleged parol agreement for the exchange of real estate.
It is alleged that a contract was made between the complainant •and the defendant on the 28th day of April, 1898, whereby the’ defendant agreed to sell, or give in exchange, to> complainant, a tract of land containing 460f acres, more or less, the metes and bounds of which are fully set out in the bill, and that, in consideration of the tract of land thus fully described, complainant agreed to sell and convey, and the defendant agreed to take in exchange, certain property from complainant, also fully set out and described in the bill, consisting of a sash, door and blind factory, and equipments, with the lot on which the factory is situated, three small houses also on the factory lot, and certain other houses and lots situated at Max Meadows; that the tract of' land which the defendant was to convey to the complainant was valued at $26.50 per acre as to a part, and $16 per acre as to the residue, aggregating $10,856.50 for the whole; that the’ property complainant was to convey to defendant was valued at $6,600, and he was to pay the defendant the balance, $4,256.50, in cash. The bill further alleges that the terms of the contract were clear, well understood, and definite in their character; that, while the contract was not then reduced to writing, there was such part performance thereof as took it out of the statute in regard to parol agreements; that is to. say, that at the time of the contract complainant was put. in possession of, and still hplds, the timbered portion of the tract of land he was. to get from the defendant, which contains about 127 acres, and *343possession, of the residue of the tract was to be given him as fast as the crops thereon could be harvested, and possession of all was to be given him not later than November 1, 1898; that complainant not only took possession of the timbered portion of the land in pursuance of the contract, but cleared much of it, grubbed and improved other portions with fences, &c., with the full knowledge of the defendant, and as fast as crops were harvested he was given possession of the other; that at the time the trade was closed, complainant gave the defendant possession of the factory and lot, and turned over to it the keys hr the factory which are now held by it, and that the defendant not only accepted possession of the factory and the houges on that lot, but took most of the belting off the machinery in the factory, and the pulleys, tools, and other equipment from the factory, and used them in other parts of the defendant’s works, so that complainant cannot be put in statu quo; that possession of the other buildings of the complainant, included in the exchange, was given to the defendant, except that complainant was allowed by the defendant to occupy the dwelling-house for a short while, and that so fully was the contract consrunmated that the defendant had the factory and another of the houses turned over by 'complainant insured for its own benefit, and plats of the land sold or exchanged to complainant were made by the defendant, and a deed for the land to complainant was prepared at the instance of the defendant.
The bill further states that, at the time of the sale or exchange, it was stated by the officers of the defendant that there were some encumbrances on the tract of land which complainant was to get, but he was also told by the company’s general manager (with whom, and the president of the company, complainant made the contract) that the company was in a condition to give him a clear title, and that he should have a clear title t„o the land.
It is further alleged that complainant, from the date of the contract, has been, and is now, ready, willing and eager to *344comply on bis part with its terms, and has frequently, before the institution of this suit, offered to do so, by proposing to make the necessary deeds to tbe defendant for tbe bouses and lots wbicb, by tbe contract, be was to convey to tbe defendant; tbat complainant has been ready and able, and is still, to pay tbe balance due from bim on tbe land in cash; but, from some cause not known to complainant, the defendant bas delayed removing tbe encumbrances upon tbe tract of land wbicb it was to convey to tbe complainant, and to make complainant a clear title to tbe land, and refuses now to make bim a clear title, free from encumbrances, as it expressly agreed to do.
Tbe bill .then sets out tbat complainant is advised tbat there are two deeds of trust upon tbe tract of land in question, amounting to about $15,000, but tbat be is informed by agents of tbe defendant tbat payments bave been made on tbe debts secured by these trust deeds, and tbat probably all bas been paid, &c.
Finally, tbe bill states tbat complainant formally files and tenders with bis bill to tbe defendant bis deeds, with covenants of general warranty, conveying to defendant all tbe lots sold to it in exchange for tbe tract of land be, complainant, was to get from the defendant, &c.
Tbe prayer of tbe bill is tbat tbe contract of exchange made between complainant and defendant be specifically enforced; tbat tbe defendant be compelled to make bim (complainant) a deed to tbe land sold bim in exchange, clear of all encumbrances; tbat tbe property sold by bim in exchange to tbe defendant, or tbe proceeds of its sale, together with tbe cash be was to pay, be appbed to tbe removal of tbe encumbrances, if they are sufficient, but if tbe defendant cannot remove tbe encumbrances tbat then tbe court will protect complainant from loss, and not allow said property and cash to be so applied; tbat complainant bave reserved to bim all necessary remedies and redress against tbe defendant, if by any possibility it should occur tbat tbe defendant cannot remove tbe encumbrances and make com*345plainant a clear title tO' the tract of land he claims; and that the deeds which complainant files with his bill and tenders to the defendant be held in escrow until complainant shall receive a good and valid deed from the defendant.
Upon what ground the demurrer to the bill was sustained does not appear. It is contended, however, that because of the encumbrances set out in the bill it does not make a case which a court of equity can specifically enforce, as the encumbrancers cannot be made parties to this suit, and that the bill shows that the complainant can be compensated in damages for any injury he sustained by reason of the failure of the defendant to comply with the alleged contract.
We, are of opinion that upon neither of these grounds should the demurrer have been sustained. By the demurrer all of the allegations of the bill are admitted to be true, and they set out a contract certain and definite in its terms, and the acts in part performance refer to, result from, and are alleged to have been made in pursuance of the contract, and are such as to show, if sustained by the proof, that neither party can be restored to the position in which he stood before the making cf the contract in question.
It is not a fatal objection to a bill of this character that it shows that there are encumbrances outstanding upon the property the complainant claims and asks that the defendant be required to convey to him by a title clear of the encumbrances; and even if the bill prayed that the encumbrancers be made parties defendant, it should not be dismissed on demurrer.
In Stimson v. Thorn, 25 Gratt. 278, the widow and heirs of one of the vendors of the -real estate, which was, the subject of the controversy, were brought in and made parties to the bill, although they were not parties to the contract on which the suit was brought, and specific performance was decreed because it* appeared at the hearing that the vendor was in a position to convey a good title.
*346Says Pomeroy in his work on Contracts, sec. 483: “ The general doctrine, as supported by the weight of American authorities, is that all persons who- are interested in the enforcement of the contract must be, and all those directly and specifically interested in the subject matter may be joined as parties to the suit for the specific performance.”
In the case of Guild v. Atchinson T. & S. F. R. Co., 33 L. R. A. 81, it was held that “ where an encumbrance can be- removed merely by the application of the purchase money, and the court is able to provide for the conveyance of a clear title to the vendee, the mere fact that encumbrances exist which the plaintiff (vendor) has not removed, or even is unable to remove without the application of the purchase money for that purpose, will not prevent a decree for a specific performance.”
The rule there stated applies as well where the suit is brought by the vendee against the vendor as when the reverse is the case, and if this rule were not adhered to a mere encumbrance upon the property would be sufficient to defeat a suit for the specific . execution of a contract for its sale. As a general rule, strangers to a contract for the sale of land are not necessary parties, and are often improper parties, but this rule is subject to- exception, and in many cases it has been held that encumbrancers are proper parties, even at the suit of the vendor, if by making them parties the title to the land can be cleared in a reasonable time, and without injury to the vendee. Try on Spec. Per., sec. 183 and authorities cited.
In the case of Garnett v. Macon, 6 Call 308, Campbell, a stranger to the contract, and the holder of a lien on the property in question, the validity of which was denied, was made a party defendant, and it was held he was a proper party. In the opinion by Marshall, C. J., it was said: “All parties are now before this court, and'if a specific performance should be decreed the title which can be made to Macon will undoubtedly stand clear of Campbell’s lien; the question therefore is whether the *347contract ought now to be enforced. It has been repeatedly declared, both in the courts of England and of this country, that time is not of the essence of the contract; and that specific performance ought to be decreed if a good title can be made at the time of the decree.”
It was in that case clearly indicated that when it was necessary to bring parties holding a lien upon the subject matter of the controversy into a suit for specific performance, so that the court might be put in the position to enable it to specifically enforce a contract, without injury to either party thereto, this should be done, and that where there is a cloud on the title, or the legal title is outstanding, or if there are encumbrancers, the parties interested may be brought before the court, and the rights of all determined.
In Beverly v. Lawson, 3 Munf. 317, it was held that, where a bill in equity is exhibited by the vendor of land against the purchaser for specific performance, if the purchaser objects to the title, and it appear doubtful whether the plaintiff can make such a title as would authorize a decree for specific performance, or other relief, on giving bond to guard against remote or improbable contingencies, the title ought, of course, to be referred to a commissioner to be examined and reported upon.
In the case of Jackson v. Liggon, 3 Leigh 174, the court clearly recognized the rule that the court would not deny specific performance of a contract before a reference to ascertain the state of the title to the property in controversy, or decree specific performance without an inquiry as to the state of the title, if it appeared necessary.
The question always is whether or not the complainant has a contract which the court can and will enforce. To enable the court to determine this question, we can see no reason why a reference to ascertain the state of the title to the property in question should not be made, nor why parties interested in the subject matter should not be made parties to the suit, if neces*348sary, although they were not parties to the contract sought to be enforced, but mere encumbrancers • or lien holders. The fact that an encumbrancer is brought before the court, that the amount of his encumbrance may be ascertained, does not necessarily involve the enforcement or' foreclosure of his encumbrance. His lien or encumbrance on the property is not prejudiced by merely bringing him before the court in order to ascertain the amount or character of his encumbrance.
The prayer of the bill in this case is not that the encumbrances on the property be enforced or foreclosed, but that the amount •due thereon, if any, may be ascertained, SO' that it may be determined whether or not the cash and the property the defendant is to get from the complainant will be sufficient to' discharge the encumbrances, whereby the complainant can have a title to the property free from encumbrances, as the defendant agreed he should have.
It follows that the decree of the Circuit Court of Wythe county must be reversed and annulled, and this court will enter such decree as that court should have entered, overruling the demurrer to appellant’s bill, and remanding the cause to be proceeded with to a hearing on its merits.
Reversed.