OPINION
I. INTRODUCTION
During a heavy rainfall, the City of Seward asked local contractor Afognak Logging to dispatch two bulldozers with operators to the Lowell Point bridge to help with flood control efforts. One of the bulldozers bogged down and suffered extensive damage in flood water that covered the highway near the bridge. Afognak sued to recover its damages, claiming that the city negligently failed to warn it that the flood had washed away the roadbed. A jury found the city liable, and the superior court awarded Afognak $89,000 in damages. We affirm, holding that the city owed Afog-nak an actionable duty of reasonable care, that neither discretionary function immunity nor emergency immunity protected the city, and that substantial evidence supports the damage award.
II. FACTS AND PROCEEDINGS
The Lowell Point bridge stands between a waterfall and the Resurrection Bay about 800 yards southwest of downtown Seward. During periods of heavy rain, water collects behind the bridge and overflows the highway at
Ainsworth came to the waterfall in response to Calvert's report of the washout and saw that the water collecting behind the bridge was threatening to spill north toward a lift station and south toward a cannery. Ainsworth called Afognak Logging and asked Afognak's manager, Steve Schafer, to dispatch a D-9 bulldozer and an operator to control the flooding. Because the city owned no large bulldozers, it had a standing arrangement for Afognak to provide equipment with operators; that day, the city orally agreed to pay $145 per hour for D-9 bulldozers with operators.
Schafer arrived at Lowell Point with a D-9 bulldozer and spent the morning attempting to clear channels for floodwaters to drain over the roadway at both ends of the bridge. Later that morning, at Ainsworth's request, someone from the city's emergency management office called Afognak for an additional bulldozer and operator. Afognak sent Lyle Johnson with a second D-9 bulldozer. While Johnson was working on the north side of the bridge, Ainsworth asked him to pick up some people stranded on the south side and ferry them across in his bulldozer to the north side. Ainsworth next instructed Johnson to cut a channel allowing flood water to drain across the highway on the south side of the bridge. Ainsworth failed to tell Johnson that the pavement on the south side of the bridge had collapsed earlier in the morning. The bridge and adjoining highway on the south side was covered with murky water and gravel, making the condition of the underlying roadbed impossible to see. After working some time without progress, Johnson bogged down in loose gravel and was forced to abandon his bulldozer. The bulldozer could not be retrieved from the waterfall until five days later. It was extensively damaged. Afognak estimated that the reasonable cost of repairing the bulldozer would be more than $100,000.
Afognak sued the city to recover its damages, alleging breach of contract, bad faith, negligence, fraud, and strict Hability. The superior court dismissed all but the negligence claim, allowing that claim to survive because the court found sufficient evidence to support a finding that the city negligently failed to warn Afognak of the washed out pavement south of the Lowell Point bridge. Concerning this theory, the court instructed the jury:
Now, in this case the plaintiff claims that the defendant's negligence caused a loss of plaintiff's bulldozer. For the plaintiff to win on this claim, you must decide that [it] is more likely true than not true (1) that the defendant knew that there existed a hidden, unknown and extrahazardous danger at the location where plaintiff was operating its bulldozer; (2) that the existence of the hidden, unknown and extra-hazardous danger could not have been reasonably foreseen by plaintiff; and (8) the defendant's failure to inform plaintiff of the hidden and extrahazardous danger at the location where plaintiff was operating the bulldozer was negligent and was a legal cause of the plaintiff's loss.
The jury found Seward negligent. After a non-jury trial on the issue of damages, the superior court awarded Afognak $89,700 plus prejudgment interest and attorney's fees.
Seward appeals.
III. DISCUSSION
On appeal, the city argues that the superi- or court should have dismissed Afognak's negligence claim because the city owed no duty to warn Afognak that the pavement had washed away and because two forms of statutory immunity protected the city from liability-discretionary function immunity and emergency immunity. The city also challenges the award of damages and prejudgment interest.
We review the denial of summary judgment de novo, applying our independent judgment. 1 We also review de novo whether the trial court correctly applied legal rules pertaining to damages 2 and prejudgment interests 3 A trial court's damage determination itself is a factual finding that we review for clear error; an award is clearly erroneous if we are "left with the definite and firm conviction on the entire record that a mistake has been committed." 4
B. Legal Duty
The city maintains that it was entitled to summary judgment or a directed verdict on negligence because it owed only contractual duties to Afognak. Since Afognak was an independent contractor, the city reasons that it bad no legal duty to warn Afognak of hazardous job-site conditions.
The superior court accepted this reasoning to a limited extent. Relying on Restatement of Torts § 413-which requires an independent contractor's employer to protect against any "peculiar and unreasonable risk of harm to others" arising from the contractor's work 5 -the court concluded that the city only had a duty to warn Afognak of "peeu-liar" dangers to its property. Based on this conclusion, the court instructed the jury that the city would be liable if it negligently failed to warn Afognak of "extrahazardous" conditions that Afognak could not reasonably have foreseen. Afognak alternatively argues that the city owed a duty of due care to warn against danger under the general test adopted in D.S.W. v. Fairbanks North Star Borough School District. 6 The city disputes the court's reliance on $ 418, insisting that Afognak and its bulldozers were not "others" to whom a duty of protection extended under this provision.
Whether the city had a legal duty to inform Afognak that the pavement south of the Lowell Point bridge had previously washed away is a legal question that we review de novo. 7 Although we are inclined to agree with the city's assertion that § 418 would not apply in this factual setting, 8 the point is moot since undisputed record evidence points to the existence of a duty under Afognak's alternative theory that the D.S.W. test applies to this situation.
In D.S.W. we described seven relevant factors that courts consider in determining the existence of an actionable duty in situations not governed by settled law:
The foreseeability of harm to the plaintiff, the degree of certainty that the plaintiff suffered injury, the closeness of the connection between the defendant's conduct and the injury suffered, the moral blame attached to the defendant's conduct, the policy of preventing future harm, the extent of the burden to the defendant and consequences to the community of imposing a duty to exercise care with resulting liability for breach, and the availability, cost and prevalence of insurance for the risk involved. 9
Applied to the cireumstances of the present case, virtually every D.S.W. factor points to the conclusion that the city owed an actionable duty to warn Afognak of foreseeable danger that the city was aware of but that might not have been readily apparent to Afognak. 10
Accepted rules governing the existence of actionable duties in analogous settings confirm this conclusion. Here, the city acknowledges that it controlled the land surrounding the bridge and was attempting to abate flood conditions there at the time of the damage to Afognak's bulldozer. Moreover, uncontroverted evidence establishes that a city employee, Ainsworth, was at the scene of the flooding and specifically requested Johnson to operate his bulldozer in the area south of the bridge, where Ainsworth knew or should have known that the pavement had been washed away.
We have long recognized that a duty of reasonable care generally arises when a person undertakes an action and that "one who assumes to act, even though gratuitously, may thereby become subject to the duty of acting carefully." 11 * We have also long recognized a landowner's duty "to use due care to guard against unreasonable risks created by dangerous conditions." 12 Here, Ainsworth's active presence at the seene of the flooding and the specific action that he undertook by directing Johnson's flood control efforts point to the same conclusion as the D.S.W. factors: the city, as Ainsworth's employer, owed a reasonable duty of care toward Johnson and his bulldozer; and this duty applied to the city even though Johnson, as an "independent contractor," might not have been contractually bound to follow Ains-worth's directions. 13
We find no merit, then, in the city's claim that it owed Afognak no actionable duty of care. We also find that the superior court adequately instructed the jury on the city's duty to warn Afognak of dangerous conditions, even though the court's instructions were unduly favorable to the city insofar as they required the jury to find that the conditions amounted to an "extrahazardous" danger.A
14
In response to the court's instruc
Our review of the record convinces us that Afognak presented sufficient evidence to support this verdict and that the superior court did not err in denying the city summary judgment or a directed verdict on the ground that it had no duty to warn Afognak of dangerous conditions.
C. Immunity
Alaska Statute 09.65.070 permits damage suits against municipalities but creates limited immunity under certain circumstances. The city claims immunity under two of the statute's provisions.
First, the city contends that it was immune under AS 09.65.070(d)(5)'s emergency provision:
(d) An action for damages may not be brought against a municipality or any of its agents, officers, or employees if the claim
[[Image here]]
(5) is based upon the exercise or performance of a duty or function upon the request of, or by the terms of an agreement or contract with, the state to meet emer-geney public safety requirements....
It is undisputed that the city hired Afog-nak to assist it in executing its East Zone Emergency Response Plan-a plan created by the city and the Kenai Peninsula Borough under the Alaska Disaster Act. The city contends that the state's participation in preparing and finally approving this plan renders the plan "an agreement ... with the state to meet emergency public safety requirements," as contemplated by AS 09.65.070(d)(5). But the city's argument is unpersuasive.
The Alaska Disaster Act holds local governments primarily responsible for responding to local disasters. 15 As the Seward City Ordinances expressly acknowledge, "it is a primary responsibility of all municipalities to plan and prepare for response to potential disasters." The city fulfilled this statutory obligation by entering into its response plan with the Kenai Peninsula Borough. That the state reviewed the city's plan for compliance did not transform it from a statutory duty into "an agreement or contract" to perform the state's duties. 16 We hold, then, that AS 09.65.070(d)(5)'s grant of emergency immunity does not insulate the city from lability for the damage to Afognak's bulldozer.
The city also claims discretionary function immunity under AS 09.65.070(d)(2), which holds municipalities immune from liability "based upon the exercise or performance or the failure to exercise or perform a discretionary function or duty by a municipality or its agents, officers, or employees, whether or not the discretion involved is abused."
This provision does not shield municipalities from liability for the consequences of operational negligence. In apply
The city contends that the planning/operational dichotomy does not apply to cases involving emergencies; it cites Earth Movers of Fairbanks, Inc. v. State 21 to support this contention. But in Harth Movers the plaintiff claimed that a trooper had negligently misread a regulation authorizing him to take emergency action; in rejecting this claim, we concluded that the trooper had read the regulation correctly. 22 Given this conclusion, we had no occasion to discuss the planning/operational dichotomy. 23 Earth Movers thus fails to support the city's immunity claim.
The city has also attempted to characterize its employees' actions as resource allocation measures, which we have sometimes considered to be protected planning decisions. 24 But the resource allocation decisions that we have deemed immune in prior cases fundamentally differ from the decisions at issue here. In Adams v. City of Tenakee Springs, 25 for example, we applied immunity to a municipality's decisions concerning the size of its fire department. And in Estate of Arrowwood v. State, 26 we excluded on grounds of immunity "evidence relating to the effect of reductions in DOT's budget upon the level of road maintenance in the Palmer Wasilla region." 27 " The resource allocation decisions in those cases involved broad policy choices about how to expend limited funding. By contrast, in State v. Abbott, 28 we declined to characterize as immune an engineer's decision to send staff and equipment to maintain a specific stretch of highway; while acknowledging that this decision involved a certain amount of planning and discretion, we held that "it [was] not the kind of broad policy decision at which [discretionary function immunity] is aimed." 29 "
Here, the disputed actions were not budgetary allocations. Like the engineer in Abbott, Ainsworth and Calvert were performing operational functions. Moreover, their alleged acts of negligence had nothing to do with the manner in which they allocated the city's emergency response resources: Afog-nak did not challenge Ainsworth's decision to direct Johnson's efforts toward the south side of the bridge; rather, it simply claimed that Ainsworth or Calvert should have warned Afognak that working there would expose Johnson to a hidden danger.
In sum, we find no merit in the city's immunity claims.
The superior court determined that Afog-nak was entitled to $89,700 in costs-of-repair damages plus prejudgment interest and attorney's fees. The city argues that the court erred in awarding damages for cost of repair without first determining whether those costs were disproportionate to the loss in market value that Afognak's bulldozer sustained as a result of the accident. The city further argues that the award improperly included costs that Afognak would not actually incur, since it sent the bulldozer to the Seward Skill Center, where it would be repaired free of charge.
In Alaska, the owner of negligently damaged property may ordinarily recover either its lost value or its reasonable cost of repair and residual loss in value, whichever is less. 30 The plaintiff bears the burden of proving damages, but once the existence of damage has been established, the amount of loss need not be proved with mathematical precision. 31
Here, Afognak's evidence indicated that its damaged bulldozer was a particularly valuable model, that it had been renovated shortly before the accident and was in excellent condition, and that machines of similar quality could not be readily found on the market. Afognak's evidence also indicated that a new D-9 bulldozer costs approximate-Ty $500,000 or more and that its damaged D-9 was worth approximately $200,000 before the accident. The superior court accepted Afognak's evidence of the bulldozer's pre-accident value. Although it did not expressly determine the bulldozer's post-accident value, the court specifically pointed to evidence indicating that a "worn-out" D-9 had recently been advertised for $30,000. In short, the trial court made it abundantly clear that, in its view, the accident resulted in a loss of value that vastly exceeded the bulldozer's estimated cost of repair.
The court thus properly turned to reasonable cost of repair as an alternative measure of damages. After rejecting the city's cost estimate as incomplete and Afog-nak's estimate as including $13,500 in potentially unnecessary repairs, the court fixed the reasonable cost of repair at $89,700. The city complains that this estimate did not accurately reflect what Afognak would actually pay to repair its bulldozer. But the superior court recognized that its award might not correspond precisely with the cash cost to Afognak, since the company had elected to have its D-9 repaired by students and to cannibalize another of its machines for replacement parts. The court nevertheless found its estimate of Afognak's costs to be reasonable. In our view, this finding is not clearly erroneous; for when a court or jury determines cost-of-repair damages, "Ht is the value, not the cost of repairs that is essential." 32 Here, the value fixed by the court is reasonable in light of the totality of the evidence. Accordingly, we affirm its award of damages.
E. Prejudgment Interest
The superior court awarded prejudgment interest on the full $89,700 damage award. The city cites Sebring v. Colver
33
to argue that it should not be required to pay prejudgment interest on the full amount. In Sebr-ing, we concluded that the superior court erred by awarding prejudgment interest on a damage award compensating a family for the cost of repairs that had not yet been made.
34
But we based our conclusion on evidence showing that, because "the financial impact of the passage of time was thus incorporated into the jury's damage award, any award of
IV. CONCLUSION
For the foregoing reasons, we AFFIRM the superior court's judgment.
Notes
. See Fejes v. Alaska Ins. Co.,
. See Curt's Trucking Co. v. City of Anchorage,
. See Cole v. Bartels,
. Curt's Trucking,
. Restatement (Second) of Torts § 413 (1965) provides:
One who employs an independent contractor to do work which the employer should recognize as likely to create, during its progress, a peculiar unreasonable risk of physical harm to others unless special precautions are taken, is subject to liability for physical harm caused to them by the absence of such precautions if the employer
(a) fails to provide in the contract that the contractor shall take such precautions, or
(b) fails to exercise reasonable care to provide in some other manner for the taking of such precautions.
Cf. Moloso v. State, 644 P.24 205, 214 (1982) (applying Resiatement § 413).
.
. See Guerrero v. Alaska Hous. Fin. Corp.,
. Cf. Torres v. Reardon,
. D.S.W.,
. Indeed, to the extent that the D.S.W. factors establish that the city owed a duty of due care to warn Afognak of any hidden but reasonably foreseeable danger, Afognak's alternative theory of duty would indicate that the instructions submitted to the jury were unduly favorable to the city in permitting the jury to hold the city liable only upon a finding that "the defendant knew that there existed a hidden, unknown and extrahaz-ardous danger at the location." (Emphasis added.)
. Moloso,
. Guerrero,
. To the extent that our ruling conflicts with the superior court's finding that the city retained no control over the conditions of Afognak's work, we conclude that the superior court erred as a matter of law. Cf. Moloso,
. See note 10 above. The city also complains that the superior court erred in allowing the jury to determine as a matter of fact whether the condition of the highway amounted to an "extra-hazardous danger." The city cites Matomco Oil Co. v. Arctic Mechanical, Inc.,
. AS 26,23.060(b) states:
Each political subdivision is responsible for disaster preparedness and coordination of response
(1) by itself;
(2) in conjunction with other political subdivisions by establishing an interjurisdictional planning and service area under AS 26.23.070; or
(3) in conjunction with the Alaska division of emergency services.
. The legislative history of AS 09.65.070(d)(5) confirms this interpretation, making it clear that the statute was designed to offer immunity only for damages incurred when municipalities acted as Good Samaritans by agreeing to perform state functions in lieu of state personnel during emergencies. See 1977-78 Senate Community and Regional Affairs Committee File, microfiche # 374 (explaining the proposed legislation as protecting local governments acting as Good Samaritans and offering as examples state/local mutual aid agreements for assistance at state airports and situations in which local police respond in the absence of a state trooper).
. See Adams v. City of Tenakee Springs,
. See Adams,
. See Adams,
. Brady v. State,
.
. See id. at 283.
. Cf. Sanders,
. See, e.g., Adams,
.
.
. Id. at 646.
.
. Id. at 722.
. See Era Helicopters, Inc. v. Digicon Alaska, Inc.,
. See Conam Alaska v. Bell Lavalin, Inc.,
. Otness v. United States,
.
. See id. at 936.
. Id.
. Id.
. See Cole v. Bartels,
. See Cole,
