dissenting, with whom RAPER, Chief Justice, joins.
The majority opinion finds liability insurance coverage of appellee under the first policy issued to him by appellant, and it recognizes that such policy does not provide coverage “after such operations have been completed.” It then finds that the operations were not completed, relying on appel-lee’s testimony that “there might have been some other small things that we had to do but that part of it [the stairs] was completed” and that “there might have been a few touch ups and things like that” (emphasis added.)
We are concerned here with an injury resulting from carpenter work in moving a stairway. Both parties acknowledge that the work on the stairs was completed. It borders on the incredible to find the operation of moving a stairway was incomplete because “there might have been” a few touch ups remaining. The situation is completely different from that in Tottenhoff v. Rocky Mountain Construction Co., Wyo., 609 P.2d 464 (1980), quoted from in the majority opinion in an effort to justify the reach for reason there made. In the Tot-tenhoff case, the operation to be accomplished was the roofing of a house. Shakes were installed, but the metal flashings were not. It was agreed that the metal flashings were “an integral part of the roofing work done” in order “to protect the building from the elements,” otherwise it would not be “watertight.” We held that the operation was not completed. But the situation is a far cry from that wherein “there might have been a few touch ups.” The situation in the Tottenhoff case would approach some similarity to this case if the remaining work was to pick up two or three of the old shingle scraps from the lawn. The result in such case could then have been different. See quotation, infra, from 12 Couch on Insurance 2d and cases there cited in supplement thereof.
Not only do the “might have beens” referring to a few touch ups and small things yet to be done by appellee amount to a de minimis with reference to substantial completion of his task, but the doctrine of judicial estoppel should prevent appellee from now taking the posture that he was working as an independent contractor on a defined project which “might” not have been completed when he previously represented to this court in connection with the first appeal of this matter (Brubaker v. Glenrock Lodge International Order of Odd Fellows v. Lythgoe, Wyo., 526 P.2d 52 (1974)) that:
“The stairway in question was physically repositioned by Lythgoe on Sunday, March 17, 1968, some seven months prior to the accident event. Such repositioning occurred during the course of a remodel*1063ing project conducted by the building’s owner, the Lodge, and thereafter such remodeled space was occupied by Plaintiff as the tenant of the Lodge.”1
In Allen v. Allen, Wyo., 550 P.2d 1137, 1142 (1976), we said:
“The principle, while denominated judicial estoppel, is sometimes referred to as a doctrine which estops a party to play fast and loose with the courts or to trifle with judicial proceedings. It is an expression of the maxim that one cannot blow hot and cold in the same breath. A party will just not be allowed to maintain inconsistent positions in judicial proceedings, as here. 31 C.J.S. Estoppel § 117, pp. 624-625.
“The role of judicial estoppel has been accepted in this state. Hatten Realty Co. v. Baylies, 1930, 42 Wyo. 69, 89-93, 290 P. 561, 72 A.L.R. 587. It was there held that where a man is successful in a position taken in a previous court proceeding, that position rises to the position of conclusiveness. It constitutes a solemn and sworn acknowledgment of the correctness of plaintiff’s claim. Following the same reasoning reached in Hatten, it would be highly inequitable for the defendant to have a decree in his divorce case holding the property not to be his and at the same time be held the owner of an interest in this proceeding. It is that very inconsistency that judicial estoppel will not tolerate. Defendant’s statements in the previous action are the very highest order of evidence against him and are entitled to judicial sanctity. He cannot play hanky-panky with the courts of this state and thus interfere with the integrity of the judicial system. See Parkinson v. California Co., 10 Cir. 1956, 233 F.2d 432, 437-438, for a discussion of Hatten. “We are not a bit concerned that the matter of judicial estoppel was not raised in the lower court or argued by either of the parties. This court has general superintending control over all the courts of the state and the Wyoming judicial system in general. It is our duty to protect its integrity and prohibit dealing lightly with its proceedings. We are at liberty to decide a case upon any point which in our opinion the ends of justice require, particularly on a point so fundamental that we must take cognizance of it.” (Footnotes omitted.)
Appellee here takes the position that he had a composite operation to perform and that it was not completed (although the stairway part was) because there “might have been some other things” and “there might have been a few touch ups” to do-not having anything to do with the stairs. In the previous case he took the position that he was working on an hourly basis (rather than on a composite operation) to do some carpentry work, and that his employment could be terminated at anytime. In the first appeal, we summarized the testimony relative to appellee’s status as follows:
“ * * * Simon testified as follows:
“That Lythgoe was employed and was to be paid by the lodge at an hourly rate; that he did not know if Lythgoe could hire assistants but supposed he did so but added that he was never given that authority by the lodge as it was never mentioned. Lythgoe did not furnish materials or supplies; had no right to control the progress of the work, and there was no agreed time for completion; that when Lythgoe finished some portion of the work they would talk it over in the lodge and the lodge could have terminated his empolyment [sic] at any time. The lodge had the right to control and supervise his work. He also testified the lodge paid for the materials and no one but the lodge controlled the premises during this remodeling and the lodge had the right to tell Lythgoe what to do during the process of his work.
“Lythgoe does not contradict any of this testimony. He testified he was employed *1064by the lodge to do some carpentry work at $5.00 per hour, that he did not direct the work done by the other members helping. He was not asked to oversee the work and it was never mentioned he would be straw boss or oversee the job. He kept account of his work. He does not contradict Simon, who did not testify positively as to whether he had authority for hiring assistants, saying in answer to such question: ‘That was never discussed but I figured I didn’t have, because they hired me, and I never had the-.’ He had no right to control progress of the work and there was no set time for completion. It was determined at the lodge meetings what should be done and he did not have the right without permission of the lodge to hire any assistant or another carpenter. If he had been half finished when the lodge decided to hire someone else to do the work he would have submitted a statement for the work done up to the time and would have had no claim against the lodge. He supposed the lodge had the right to tell him what to do on the job and that insofar as he was concerned the lodge had control of the entire project.” (Emphasis added.) 526 P.2d at 56.
And seven months elapsed between the time appellee completed the stairway work and the time of the accident. Appellee ought not be allowed to first tell this court that he completed the stairs and was working by the hour on other tasks and to now tell this court that his operation, including the stairs, was not completed-even if he now uses the words “might have.” The doctrine of judicial estoppel should be invoked against him.
On June 5, 1980, I presented the following to the other members of the court with a suggestion that it be published as the opinion of the court. The majority of the court did not agree with the suggestion. I believe it reflects the proper disposition to have been made of this case:
This case involves questions concerning the existence, interpretation and application of a “completed operations hazard” provision of a liability insurance policy. This, in turn, is determinative as to whether or not appellant-insurer is obligated to defendant-appellee-insured in an action brought by a third party against appellee for damages resulting from personal injuries received when a basement stairway installed by appellee collapsed.
After a trial to the court, judgment was entered in favor of appellee and against appellant for attorney fees and costs in the amount of $14,346.83 incurred by appellee in defense of the personal injury action.
We reverse.
Appellee was in the construction and carpenter business. He was employed by Glenrock Lodge International Order of Odd Fellows to do certain remodeling work in a building in Glenrock, including the rebuilding, reconstruction and relocation of the stairway leading to the basement. A third party, Katherine Brubaker, was using the stairway to go to the basement when it collapsed. A jury found in favor of appel-lee and the Glenrock Lodge in Mrs. Bruba-ker’s action against them for damages resulting from injuries occasioned by the collapse of the stairway. After we reversed on appeal and remanded for a new trial (Brubaker v. Glenrock Lodge International Order of Odd Fellows, supra), the matter was settled without loss to appellee, except for the expended attorney fees and costs. Appellant had refused appellee’s demand to defend or assume liability in the Brubaker action on the ground that the policy issued to appel-lee by appellant did not cover such occurrence.
Appellant issued a policy to appellee for the period of May 24, 1965 to May 24, 1968 (hereinafter referred to as first policy) and renewed it with a policy for the period of May 24, 1968 to May 24, 1971 (hereinafter referred to as second policy). The stairway collapsed with Mrs. Brubaker on October 17, 1968. In light of the “renewal” feature of the second policy, the parties have argued at length concerning whether or not provisions of the first policy applied to the occurrence in addition to, or in lieu of, the provisions of the second policy. Since ap-*1065pellee did not have coverage for the occurrence under either policy, we need not address this argument.
“Completed operations hazard” is a risk which can be insured. However, it is a risk which need not be included in a liability insurance policy. An insurance policy may insure against liability for damages resulting to person or property on the insured’s premises. Except for liability insurance covering the operation of motor vehicles, this “on premise” type of liability insurance is the most common. An insurance policy can also be obtained which also insures against liability for damages resulting to person or property from operations performed by the insured off the insured’s premises. Such policy normally covers the risk only until the off-premises operation is completed. Of course, both risks can be covered in the same policy. Finally, a “completed operations hazard” policy can be obtained which insures against liability for damages to person or property that occur after the operation is completed. This type of coverage differs from regular liability coverage for damages resulting on or off premises in that it insures against defective workmanship. A policy which excludes coverage on defective workmanship normally does so by specifying the exclusion. As said in Leakakos Construction Company, Inc. v. American Surety Company of New York, 8 Ill.App.3d 842, 291 N.E.2d 176, 179 (1972):
“ * * * [Completed hazards exclusion] clearly indicates that the parties intend to limit the insurer’s liability to accidents occurring during the process of the work and to exclude liability for accidents due to defective workmanship occurring after completion. * * *”
The first policy reflects that bodily injury and property damage liability coverage was purchased for “Division” “1. Premises-Operations.” Coverage was not purchased for the other three “divisions” listed on the policy as available for coverage, i. e., “2. Elevators”; “3. Independent Contractors,” and “4. Products-Completed Operations.” Accordingly, the policy did not apply to “completed operations.” The policy defined “Products-Completed Operations” in pertinent part as the damage which “occurs after such operations have been completed or abandoned.”
The second policy reflects that bodily injury and property damage liability coverage was purchased for “manufacturers’ and contractors’ liability insurance.” Coverage was not purchased for the other four policy listed coverages, i. e., “Comprehensive General Liability Insurance,” “Owners’, Landlords’ and Tenants’ Liability Insurance,” “Contractual Liability Insurance,” and “Completed Operations and Products Liability Insurance.” Accordingly, the policy did not apply to “completed operations and products liability.” The policy defined “completed operations hazard” in pertinent part as damage which “occurs after such operations have been completed or abandoned.” Additionally the page of the policy captioned “Coverage for Premises and for the Named Insured’s Operations in Progress” recites that “this insurance does not apply: * * * (m) to bodily injury or property damage included within the completed operations hazard or the products hazard.”
Accordingly, appellee did not purchase insurance covering liability for damages resulting from defective workmanship which occurred after completion of the operation.2
The question, then, is whether or not there was any evidence to support a finding that the operation was not completed. The trial court did not make a specific finding relative thereto, but it indicated that it reviewed the matter with particular reference to, among other things, the question of “was the operation completed?” A general finding was made in favor of appellee, and the judgment was rendered in his favor. On appeal, we must treat a judgment which is rendered without special findings of fact as carrying with it every finding of fact supported by the evidence. Brug v. Case, Wyo., 600 P.2d 710, 715 (1979); Zitterkopf *1066v. Roussalis, Wyo., 546 P.2d 436, 437 (1976). Therefore, if there is any evidence in the record that the operation was not completed within the meaning of the insurance policies, we must accept the trial court’s finding that such was not completed.
However, we find none. And both parties acknowledge that the stairway work was completed. Appellee states in his brief that “the record only indicates that appel-lee’s work on the staircase had been completed,” and that “appellee had completed his work on the staircase that later collapsed.” However, appellee points to the definition of completion in the second policy and contends that there is no evidence that Mrs. Brubaker had used the stairs on a previous occasion, wherefore, they were not put to the intended use under paragraph (3) of that definition.3 He concludes that the operation was not completed for that reason.
In this, appellee overlooks three things: (1) The definition of completion in the second policy has reference to the earliest of the three times listed in the numbered paragraphs. The evidence reflects that the operation was finished without reference to being put to intended use. (2) The stairway was being put to the intended use at the time of collapse. The test of “intended use” is not for the purpose of using to test the workmanship of the construction or repair, i. e., to see if it was done correctly; rather it is for the purpose of specifying the exact time at which the operation was completed and liability ceases for damages due to work activity. (3) Finally, we can take notice of our opinion in Brubaker v. Glenrock Lodge, supra, in which we commented on the facts that Mrs. Brubaker had ascended the stairs, met Mrs. Hendricks at the top; Mrs. Hendricks said something about the stairs “feeling funny”; Mrs. Brubaker turned to go down to see what was the matter, and the collapse then occurred. We also commented therein on Mrs. Brubaker’s claim against the Lodge for the Lodge’s negligent use of the stairs “by moving heavy objects over them.”
Appellee’s testimony relative to completion of the operation was:
“Q. Now, in March of 1968, did you do some work for the Glenrock Lodge of the International Order of Odd Fellows?
“A. Yes, I did.
“Q. Would you describe that for us? “A. At the time of the remodeling, of which is now Kay’s Clothing Store, they decided that they would like to have the stairs changed from one direction to the other for better access, so I proceeded to take the stairs apart and turn them around and replace them on the opposite direction.
“Q. You didn’t build those stairs, did you?
“A. No, I did not.
* ⅝: * * ⅜ ⅜
“Q. Mr. Lythgoe, at the time Mrs. Bru-baker was injured, had you completed your work in the lodge?
“A. There might have been some other small things that we had to do but that part of it was completed.
“Q. That is the stairway, which was involved in her injury had been completed! “A. Yes, that part was.
“Q. What other things are you talking about that might have not been done?
“A. There might have been a few touch ups and things like that.
*1067“Q. Was that in the same area?
“A. Yes, in the same area.” (Emphasis added.)
There is no evidence that the repair or reconstruction of the stairway was not completed. The only evidence is to the contrary. The stairway had been put to its intended use pursuant to the definition thereof in the second policy. Appellee testified that the stairway had been completed but that there “might have been other small things that we had to do * * * a few touch ups and things like that.” (Emphasis added.)
“A contract or operation is deemed completed when the work contracted for or undertaken has been finished, even though minor details of performance may remain.” 12 Couch on Insurance 2d § 44:435, p. 20 (1964). See Aetna Casualty & Surety Co. v. Rothman, La.App., 331 So.2d 81 (1976); Martinez v. Hawkeye-Security Insurance Company, 195 Colo. 184, 576 P.2d 1017 (1978); Casey v. Employers National Insurance Co., Tex.Civ.App., 538 S.W.2d 181 (1976).
Since the coverage purchased by appellee under both the first policy and the second policy is clear and does not include “completed operations hazard,” appellant did not have an obligation to defend appellee in an action brought against him for damages arising out of an operation which was not covered, i. e., for damages due to defective workmanship.
The first policy provides that defense of legal action shall be provided “with respect to such insurance as is afforded by this policy * * and the second policy provides that appellee “shall have the right and duty to defend any suit against insured seeking damages on account of such bodily injury and property damage” (emphasis added). The bodily injury and property damage referred to is stated to be that “to which this insurance applies.”
Although an insurer’s duty to defend is broader than the duty to indemnify, Lanoue v. Fireman’s Fund American Insurance Companies, Minn., 278 N.W.2d 49 (1979); Boston Insurance Company v. Maddux Well Service, Wyo., 459 P.2d 777 (1967), the determination as to whether or not the legal action is one which the insurer has an obligation to defend is not made on the basis of the ultimate liability of the insurer to indemnify the insured, nor is it made on the basis of whether or not the action is groundless or unsuccessful. Employers’ Fire Insurance Company v. Beals, 103 R.I. 623, 240 A.2d 397 (1968); Burger v. Continental National American Group, 6th Cir. 1971, 441 F.2d 1293. Rather the determination as to whether or not the insurer has a duty to defend an action against the insured is first made on the basis of the allegations of the complaint. If the complaint alleges facts within the coverage of the policy, the duty to defend exists regardless of the merits of the action or of the ultimate outcome of it. The converse is not always true. Although the facts alleged in the complaint do not bring the action within coverage of the policy, the insurer may still have a duty to defend if it is in possession of other facts, or if it reasonably should be in possession of other facts by virtue of a reasonable investigation or inquiry, which would bring the action within coverage of the policy. J. L. Simmons Co., Inc. v. Fidelity and Casualty Co., 7th Cir. 1975, 511 F.2d 87; Sheppard, Morgan and Schwaab, Inc. v. United States Fidelity and Guaranty Company, 3 Ill.Dec. 138, 44 Ill.App.3d 481, 358 N.E.2d 305 (1976); City of Palmyra v. Western Casualty and Surety Company, Mo.App., 477 S.W.2d 428 (1972); United States Fidelity and Guaranty Company v. Baugh, 146 Ind.App. 583, 257 N.E.2d 699 (1970).4
The third-party complaint of Glenrock Lodge International Order of Odd Fellows, *1068which first brought appellee into the lawsuit filed by Mrs. Brubaker, alleges that the collapse of the stairway was caused as a result of appellee’s negligence “with regard to the workmanship undertaken by * * * [appellee] and the negligent manner in which said stairway was rebuilt, reconstructed and/or relocated.” It further alleges that the stairway was being put to use by Mrs. Brubaker at the time it collapsed. In an amended complaint, Mrs. Brubaker expanded her original complaint to include appellee as a defendant. In it she alleged that appellee “failed to properly and adequately install such stairway” and that the stairway was being put to use by her at the time it collapsed. Both pleadings speak of the moving, installation, replacing and relocating of the stairway in the past tense, i. e., as already completed.
Accordingly, the two complaints alleged injuries which occurred when the stairway was put to its intended use and which occurred as a result of poor workmanship on the part of appellee. The two complaints did not set forth an occurrence within the coverage of either the first or second policies. There is nothing in the record to indicate that appellant had knowledge of facts which would bring the action within such coverage, or to indicate that appellant should have had such facts as a result of a reasonable investigation or inquiry. Actually, an investigation or inquiry would develop facts to exclude the action from such coverage.
Appellee urges us to adopt and apply the “doctrine of reasonable expectations” to this case, i. e., to make the questions of coverage and the duty to defend depend upon the reasonable expectations of the insured even though the policy provisions negate these expectations. The adoption and application of such a doctrine would make the important relationship of insurer and insured too nebulous and uncertain. We will not reverse or change the position set forth by us in Alm v. Hartford Fire Insurance Company, Wyo., 369 P.2d 216, 217—218 (1962):
“ * * * where terms of an insurance policy are clear and unambiguous, they will be enforced the same as are the terms of other contracts, Addison v. Aetna Life Insurance Company, Wyo., 358 P.2d 948, 950; that parties have the right to embody in their insurance contract whatever lawful terms they wish and courts will not rewrite them, Rosenblum v. Sun Life Assur. Co. of Canada, 51 Wyo. 195, 214, 65 P.2d 399, 405, 109 A.L.R. 911, 919. * * *
“ * * * in case of ambiguity or doubt respecting the terms of the policy, the contract should be construed against the company and in favor of the insured. Wilson v. Hawkeye Casualty Co., 67 Wyo. 141, 215 P.2d 867; Royal Ins. Co. v. O. L. Walker Lumber Co., 24 Wyo. 59, 155 P. 1101.”
I would reverse and remand with direction to enter a judgment for appellant.
. Page 1, Appellee’s brief in previous case, which brief is part of our files and of which we may take notice.
. About a year after Katherine Brubaker began her action against appellee, appellee secured a rider on the second policy which covered the risk of “completed operations.”
. The second policy provides in part:
“ * * * Operations shall be deemed completed at the earliest of the following times: “(1) when all operations to be performed by or on behalf of the named insured under the contract have been completed,
“(2) when all operations to be performed by or on behalf of the named insured at the site of the operations have been completed, or “(3) when the portion of the work out of which the injury or damage arises has been put to its intended use by any person or organization other than another contractor or subcontractor engaged in performing operations for a principal as a part of the same project.
“Operations which may require further service or maintenance work, or correction, repair or replacement because of any defect or deficiency, but which are otherwise complete, shall be deemed completed.”
. The second policy requires a defense by the insurer “even if any of the allegations of the suit are groundless, false or fraudulent.” Such provision does not impose a duty to defend outside the coverage of the policy. Isaac v. Reliance Insurance Company, 201 Kan. 288, 440 P.2d 600 (1968); Consumers Construction Company v. American Motorists Insurance Company, 118 Ill.App.2d 441, 254 N.E.2d 265 (1969); Universal Towing Company v. Hartford Fire Insurance Company, 8th Cir. 1970, 421 F.2d 379.