In the dispute between Greаt Hоmes Cоnstructiоn (GHC) аnd the Smiths, the Smiths owed GHC $55,000 but refused to pаy, claiming construction deficiencies. An expert witness estimated that the cost to repair all deficiencies and bring the home into compliance with the contract was only $15,000. The Appellate Court ruled that the Smiths must pay GHC $40,000—which is the original amount owed minus the repair costs ($55,000 - $15,000 = $40,000). Legal Question: Under contract law, is this the correct remedy for both parties? Why or why not?