OPINION
Before RABINOWITZ, C. J., CONNOR, BURKE and MATTHEWS, JJ., and DIMOND, Senior Justice.
RABINOWITZ, Chief Justice.
This appeal involves monies which were paid by the state to the Municipality of Anchorage pursuant to municipal revenue sharing statutes enacted in 1973. The funds in controversy were received by the Municipality under the provisions of former AS 43.18.010(h)(1)
and were generated by the Municipality’s inclusion of the hospital operated by Sisters of Providence in Washington, Inc. (“Providence”) in its annual revenue sharing applications for fiscal years 1974-76. During those years, the Municipality’s position was that former AS 43.18.-050
gave it discretion to apportion funds received under former AS 43.18.010(h)(1) among health care facilities in Anchorage as it deemed appropriate. Providence, on the other hand, was of the view that AS 43.18.050 required that funds generated by its facilities be paid directly to it.
There is a further dispute in regard to $92,071.77 that was paid over to Providence by the Municipality during this period. Of this total sum, $25,532 represents compensation for services rendered by Providence prior to fiscal year 1974. The remaining $66,539.77 was paid for various services provided by Providence during fiscal years 1974-76. Providence argued before the superior court that the $25,532 represented payment pursuant to contractual arrangements entered into and performed prior to the time the revenue sharing scheme became effective. As to the $66,539.77, Providence’s position was that the Municipality was under a contractual obligation to pay that amount for services rendered during fiscal years 1974-76 that was entirely separate from its duty to pay over the revenue sharing funds. It is stipulated by the parties that $66,539.77 represents payment for specific services, which consisted of the establishment of a poison information center and the provision of social worker services. The Municipality’s position was that the whole of the $92,071.77 was paid from revenue sharing funds and that it had the discretion not only to distribute those funds to various facilities as it saw fit but also to
require that facilities receiving funds apply them to specific services.
Both parties agreed that the case involved no triable issues of fact and that, therefore, disposition by summary judgment would be appropriate. The superior court entered summary judgment awarding Providence $371,350.23, plus prejudgment interest. The court held that under former AS 43.18.050, Providence was entitled to all of the revenue sharing funds generated by the Municipality’s inclusion of Providence’s facility in the application for those funds but that that statute gave the Municipality the right to direct the specific uses to which those funds were to be put. The $371,-350.23 award was, therefore, determined by setting off the amount received by Providence for services rendered during fiscal years 1974-76 ($66,539.77) against the total amount received by the Municipality that was attributable to the inclusion of Providence in the revenue sharing application ($437,890). The court was of the view that the “wide discretion” the Municipality was entitled to exercise in restricting the use of revenue sharing funds did not justify application of the funds to payment of prior indebtedness. The $25,532 received by Providence for services rendered prior to fiscal year 1974 was, therefore, not included in the set-off allowed by the superior court.
The Municipality has appealed the superi- or court’s interpretation of former AS 43.-18.050, its rejection of defenses of laches, waiver, and estoppel, and its award of attorney’s fees to Providence. Providence, in its cross-appeal, argues that the superior court erred in finding that the legislature granted the Municipality discretion to restrict the use of these revenue sharing funds and, thus, that the $66,539.77 set-off was improper.
I. Interpretation of Ch. 87 SLA 1973.
The original Alaska revenue sharing statutes, AS 43.18.010
et seq.,
were enacted in 1969 and did not include any provision for the funding of health care facilities.
See
eh. 95, § 10, SLA 1969. In 1970, AS 43.18.-010 was amended to provide for the application of revenue sharing funds toward operation and maintenance expenses of “health services or facilities.” Ch. 194, § 3, SLA 1970. This amendment read, in pertinent part:
AS 43.18.010 is amended by adding new subsections to read:
(h) During each fiscal year the state shall pay to an organized borough or a city outside an organized borough, in which a health facility is operated, a sum equal to $1,000 for each bed actually used for patient care within the facility, limited to the maximum number of beds provided for in the construction design of the facility, or $4,000 for a facility, if the local government elects to accept payment on that basis for a particular facility. Sums received by a local government under this subsection shall be used for expenses of operation, maintenance or health services or facilities, as the local government determines.
(i) In (h) of this section ‘health facility’ or ‘facility’ includes hospitals, public health centers, community mental health centers, facilities for the mentally or physically handicapped, nursing homes and convalescent centers which are licensed by the state under AS 18.-20.130 and are owned or operated or both by a local government or by a nonprofit corporation or other nonprofit sponsor; the term excludes facilities operated or wholly supported by the state or the federal government.
In 1973, the above subsections were repealed and replaced by the revenue sharing scheme presently under consideration.
Ch.
87, §§ 1-3, SLA 1973. The re-enactment of AS 43.18.010(h), as it pertains to this dispute, reads as follows:
(h) During each fiscal year the state shall make payments as follows:
(1) $1,000 per hospital bed to organized boroughs having health powers for each hospital bed actually used for patient care, limited to the number of beds provided for in the construction design of the hospital, or $50,000 per hospital for those hospitals with ten or more beds or $20,000 per hospital for those hospitals with less than ten beds as the local government may determine ....
In addition, the legislature added the following section to the statutory scheme:
Sec. 43.18.050.
Specific Expenditures.
A municipality shall expend funds re-eeived for the operation and maintenance of hospitals and health facilities and services under this chapter only for those specific facilities and services.
The crucial alteration, as far as this appeal is concerned, was the removal of the last sentence of the 1970-73 version of AS 43.18.010(h) and its replacement by AS 43.-18.050. The change was from the provision for expenditure “as the local government determines” to the requirement that “funds received for the operation and maintenance of hospitals and health facilities and services” be expended “only for those specific facilities and services.”
Finally, in 1976, in response to the dispute underlying this litigation, the legislature again amended the revenue sharing plan.
This enactment made it clear that “payments to the municipality shall be transferred to the hospital in accord with the basis by which the entitlement was generated by the hospital.” AS 43.18.010(h)(2)(B). Since July 1, 1976, when that provision took effect, the Municipality has transferred the appropriate revenue sharing funds directly to Providence.
“If the meaning of a statute is plain, it should be enforced as it reads without judicial modification or construction.”
Horowitz v. Alaska Bar Association,
609 P.2d 39, 41 (Alaska 1980).
Both parties cite this principle and, emphasizing different words within former AS 43.18.050, argue that the unambiguous language of that statute supports their respective positions.
Appellant’s position is that the statute distinguishes the method by which eligibility for funds is determined (based upon “hospitals and health facilities and services”) from the object of expenditure (“facilities and services” only). The contention is that “[h]ad it been intended that hospitals must receive funds under these statutes, the word ‘hospitals’ would have been included along with ‘facilities and services’ in the expenditure clause of former AS 43.18.050.” Appellant claims therefore, that the clear meaning of the statute limited its discretion as to expenditure of the revenue sharing funds only insofar as it required that funds generated by health care facilities be expended on health care facilities. Appellee’s position, based upon the same legal principle, is that the plain meaning of the statutory language requires that municipalities “expend funds received for hospitals and health care facilities on the. facilities which generated the funds.” We believe that appellee’s reading of former AS 43.18.050 is clearly the more reasonable one. But in view of the confusion that provision has generated, and the legislative history underlying it, we
think it inappropriate to base our holding solely on the plain meaning rule.
Both parties, likewise, rely on the sequence of legislative enactments discussed above in support of their arguments. It is agreed that prior to fiscal year 1974, Providence had no claim to revenue sharing funds distributed to the Municipality; it is also agreed that the 1976 enactment obliged the Municipality to pay over to Providence all funds of the kind in dispute here.
Two lines of authority indicate opposite interpretations of a sequence of legislative acts like this one. 2A C. Sands,
Sutherland Statutory Construction
§ 49.11, at 265-67 (4th ed. 1973), and 1980 Supp. at 44-45. On the one hand, it has been held that “an amendment which in effect construes and clarifies a prior statute must be accepted as the legislative declaration of the meaning of the original act.”
Atwood v. Regional School District No. 15,
169 Conn. 613, 363 A.2d 1038, 1043 (1975),
quoting General Petroleum Corp. v. Smith,
62 Ariz. 239, 157 P.2d 356, 360 (1945). The Arizona court went on to say that “[t]he rule seems to be well established that the interpretation of a statute by the legislative department goes far to remove the doubt as to the meaning of the law.”
Id. See also Bowles v. Glick Bros. Lumber Co.,
146 F.2d 566 (9th Cir. 1945). The California Supreme Court, on the other hand, seems to favor the opposite presumption. In
People v. Weitzel,
201 Cal. 116, 255 P. 792, 793 (1927), that court held that, since the legislature cannot be presumed to have performed a useless act, an amendment must be presumed to change the pre-existing statute in all particulars in which the language of the act is materially changed. More recently, another court has said: “We believe that when the Legislature amended [the statute to be construed] to resolve the doubtful meaning of the provision, such action constituted evidence that the previous statute meant the exact contrary.”
Roe v. Affleck,
390 A.2d 361, 365 (R.I.1978) (citation omitted).
There is yet another body of modern authority that takes dispute or ambiguity surrounding a statute to be a strong indication that subsequent amendment was intended to clarify, rather than change, existing law. 2A C. Sands,
Sutherland Statutory Construction
§ 49.11, at 265-66 (4th ed. 1973).
See Bowen v. Statewide City Employees Retirement System,
72 Wash.2d 397, 433 P.2d 150, 153-54 (1967). We think this approach is the preferable one in that it encourages realistic appraisal of the circumstances surrounding the amendment of a statute rather than mechanical adherence to one or the other of the above rules of statutory construction.
Here, it is clear that there was a good deal of dispute and confusion surrounding the interpretation of AS 43.18.050. Shortly after passage of that legislation, the Municipality apparently requested an interpretation of the statute from the Department of Community and Regional Affairs. The response to that request was contrary to the Municipality’s interpretation. Mr. Don Ar-getsinger, Deputy Commissioner of that department, wrote, in a letter to the Municipality dated August 8, 1973, as follows:
[T]he Department understands this provision to mean municipalities receiving funds under the health facilities category of the State Revenue Sharing Program no longer have the latitude they previously had, in that [AS 43.18.050] specifically requires that funds received by virtue of the inclusion of a particular facility on the application must be expended for the operation and maintenance of that specific facility. This provision also requires these funds to be expended for those approved facilities in amounts equal to the municipality’s entitlement for each facility.
Dissatisfied with that interpretation, the Municipality procured another opinion from the Department. In early 1975, Ms. McAn-erny, who replaced Mr. Argetsinger, wrote that:
It is possible, albeit the record is not conclusive, that the Legislature intended to require expenditure for the operation and maintenance of specific facilities enumerated in the application and subsequently approved by the Department in
amounts equal to the entitlement computed with reference to each facility. Such was the thrust of Mr. Argetsinger’s comments to Mr. Carman of your staff. Upon reflection, I suggest that a broader interpretation is possible. From the record of proceedings, it is possible to conclude also that the Legislature, in enacting AS 43.18.050, determined not so much ... to remove from the municipality exercise of discretion as to use of the funds, but rather, consistent with the discretion affirmed in (h)(4), [acted] merely to restrict use of the funds received to the support of those programs or services implemented through those facilities or programs which have secured departmental approval, i. e., those which the Commissioner of Health and Social Services has certified pursuant to AS 43.18.010(h)(5) and other facilities or programs otherwise qualified under the definitional provisions of AS 43.18.010(i). In other words, the discretion or determination specifically granted to the municipality under subsection (h)(4) is not removed by section 050, but rather circumscribed to assure that no ‘non-qualified’ recipient, e. g., unlicensed facility where such license is required, facility for which the Commissioner cannot certify that assets are accumulated for a public purpose, or facility or service supported by the State or federal government, shall be allocated any portion of the shared-revenue entitlement by the municipality.
This confusion led to a recognition by the Division of Legislative Audit that the Municipality of Anchorage was the only local government in Alaska subscribing to the interpretation it advances in the present appeal. The Department of Community and Regional Affairs responded by returning to its original interpretation, and ultimately the legislature amended the statutory scheme to conform unambiguously to that interpretation. We believe that this sequence of events exemplifies just the sort of ambiguity contemplated by the rule of statutory construction referred to in the
Bowen
case. The circumstances surrounding the legislature’s amendment of this statutory scheme strongly indicate that the amendment was a clarification of, and not a change in, existing law.
Another canon of statutory construction relied upon by both parties is the presumption that “each section of a statute is presumed to serve some useful purpose.”
Isakson v. Rickey,
550 P.2d 359, 364 (Alaska 1976). Providence seeks to apply this presumption to the fact that the interpretation of former AS 43.18.050 urged by the Municipality would duplicate the provision of the previously enacted AS 43.18.010(h), ch. 194, § 3, SLA 1970, which reads, in pertinent part:
Sums received by a local government under this subsection shall be used for expenses of operation, maintenance or health services or facilities, as the local government or hospital outside an organized municipality determines.
That provision was re-enacted as AS 43.18.-010(h)(4)
in 1973 when AS 43.18.050 was enacted. Ch. 87 SLA 1973. Since the Municipality’s interpretation of former AS 43.-18.050 would render it redundant, Providence argues, that interpretation must be rejected because it fails to ascribe a “useful purpose” to the legislature’s enactment of the statute.
The Municipality’s argument under this canon is somewhat less persuasive. Accord
ing to the Municipality Providence’s interpretation of former AS 43.18.050 requires that the funds in question be viewed as “a direct grant-in-aid to [the] hospital.” If that interpretation is accepted, the argument goes, the legislative provision for the funds to be given first to the Municipality and then passed through to Providence was a useless act. Because such a useless act would violate the controlling presumption, the Municipality urges, the interpretation that gives rise to it must be rejected.
We note that the superior court’s holding that the Municipality had the power to direct the uses to which the funds were to be put attributes a purpose to the legislative provision for passing the funds through municipal governments rather than making payment directly to the recipients. We therefore agree with Providence’s claim that the presumption of a useful purpose behind each section of a statute supports its interpretation of the statute in question.
Finally, both parties argue that legislative history and purpose support their respective views. The Municipality's argument is that the superior court’s interpretation of former AS 43.18.050 is in conflict with the legislature’s express purpose in setting up the revenue sharing scheme, as stated in former AS 43.18.030(a), ch. 194, § 5, SLA 1973:
The intent of this chapter in authorizing state aid for municipal purposes is that local governments which levy property taxes reduce those levies in reasonable proportion to the amount of state aid received by a local government for a given fiscal year.
The purpose of reducing local property taxes would have failed, according to the Municipality, to the extent that revenue sharing funds were given to privately operated facilities rather than to those operated by the Municipality. We note, again, that the superior court’s interpretation defeats this argument by giving the Municipality discretion to direct specific uses of the funds, and thereby to provide services that would otherwise have to be provided at facilities operated by the Municipality.
Providence points to what it describes as a “scant but helpful” legislative history behind AS 43.18.050. Minutes from a meeting of the House Finance Committee on March 11, 1973, indicate that the statute was intended to ensure that aid to hospitals under the revenue sharing plan be given to hospitals rather than to other kinds of health care facilities.
And at the March 15,1973, meeting of the same committee, it was explained that “[ujnder the bill the revenue would go directly to the hospital — not to
the boroughs.”
These excerpts from the House Finance Committee’s minutes provide additional support for the interpretation advocated by Providence and adopted by the superior court.
One final issue pertaining to the interpretation of former AS 43.18.050 must be addressed. The superior court’s holding was based, at least in part, on its conviction that deference was owed to the decision of the Department of Community and Regional Affairs.
The Municipality asserts that the issue before the court was one of pure statutory construction, in which the Department of Community and Regional Affairs had no expertise, and that that issue should have been resolved independently of any agency opinion. Providence’s position is that the superior court properly applied the “reasonable basis” standard of review,
Jager v. State,
537 P.2d 1100, 1107 (Alaska 1975), in its consideration of the Department’s interpretation. Alternatively, Providence argues that that interpretation is at least evidence of legislative intent and that even if no deference was owed it by the courts, it was properly considered by the superior court.
In view of the wording of the conflicting interpretations issued by the Department, and the content of former AS 43.18.050, we think that “the issue to be resolved turns on statutory interpretation rather than formulation of fundamental policy involving particularized expertise of administrative personnel” and that therefore the courts must “independently consider the meaning of the statute.”
Hood v. State, Workmen’s Compensation Board,
574 P.2d 811, 813 (Alaska 1978).
See also State, Commercial Fisheries Entry Commission v. Templeton,
598 P.2d 77, 81 (Alaska 1979);
Wien Air Alaska v. Arant,
592 P.2d 352, 356 (Alaska 1979). Because the Department’s interpretation was not a matter “involving particularized expertise of administrative personnel,” the superior court was in error in giving it deference. It should have made an independent judgment as to the appropriate construction of the statute. On appeal, this court must make that same independent judgment.
State Commercial Fisheries Entry Commission v. Templeton,
598 P.2d 77, 81 (Alaska 1979). That does not, however, mean that neither the superior court nor this court can give due consideration to the Department’s interpretation, for in
Union Oil Co. of California v. Department of Revenue,
560 P.2d 21, 25 (Alaska 1977), we held that, in interpreting an ambiguous statute, “we may .. . give some weight to the administrative decision even when exercising our independent review.”
Since we are persuaded that the principles of statutory construction previously considered demonstrate that the superior court’s interpretation of the statute was correct, we conclude that the superior court’s apparent deference to the Department’s opinion does not vitiate the overall correctness of its interpretation of the statute. We therefore hold that former AS 43.18.050 obligated the Municipality to pay over to Providence all funds generated by the inclusion of Providence in the Municipality’s application for revenue sharing funds.
II. Validity of set-offs allowed by the superior court.
Former AS 43.18.010(h)(4)
reads, with emphasis added by the superior court:
[FJunds received by a local government under (1) ... of this subsection shall be used for expenses of operation, maintenance, or health services or facilities, as
the local government ... determines.
In its first judgment in this case, entered on January 31, 1979, the superior court held that the statute “allowed the Municipality to place whatever restrictions ... it wished” on the use of the revenue sharing funds it was obliged to pay to Providence. Ultimately, that holding was modified by the court’s recognition that although “the Municipality had wide discretion to restrict the expenditure of these funds, ... that discretion was not unbounded.” The fact that the statutory language restricted expenditure to “operation or maintenance,” according to the superior court, precluded the Municipality’s use of the funds to satisfy debts that existed prior to the statute’s effective date. The court therefore allowed the Municipality a set-off against the total award for the amount that was paid to Providence for services rendered during fiscal years 1974-76 ($66,539.77), but disallowed the claim for an additional set-off of a payment for services rendered prior to the effective date of the revenue sharing plan ($25,532).
In its cross-appeal, Providence argues that the superior court’s reading of former AS 43.18.010(h)(4) was erroneous and that no set-off should have been allowed. Cross-appellant’s position is that in contracting with it for a poison information center and disaster beds, and the services of a medical social worker, the Municipality incurred an obligation entirely separate from that imposed by former AS 43.18.050. The argument is that the statute evidences a legislative purpose to support health care facilities, and that that purpose would be defeated if municipalities could condition payment of revenue sharing funds on performance of additional services.
We find this argument unpersuasive for a number of reasons. First, and most important, is the apparent conflict with the legislature’s stated purpose in enacting the revenue sharing plan: to reduce local property taxes. Former AS 43.18.030(a). As the Municipality points out, a direct grant-in-aid to Providence would not reduce taxes in the same straightforward way as would allowing the funding to be conditioned on performance of specific services that would otherwise have to be performed at municipal facilities. Second, we agree with the Municipality’s argument that Providence’s interpretation imputes a useless act to the legislature. If the Municipality had no discretion to determine how these funds were used, then there was no point in the intermediate location of the funds at the municipal level. Had the legislature not intended that municipalities exercise some discretion, in other words, it would have paid the funds directly to the hospitals. Third, there is every indication that Providence received payment for the services it provided during fiscal years 1974-76 with the understanding that the source of payment was revenue sharing funds. Providence requested payment for those services by filing a series of forms under the title, “Request for Revenue Sharing Funds.” The arrangement between the parties was apparently initiated by a “formal request for participation in the ... Revenue Sharing program” con
tained in a letter written by the Controller of Providence Hospital. Further, it is clear that the Municipality considered that payment was to be made to Providence out of revenue sharing funds. For these reasons, we believe that Providence is now precluded from claiming that the contracts in force between fiscal years 1974 and 1976 constituted obligations that were separate from the revenue sharing plan. All of the general elements required for the application of the equitable estoppel doctrine — “assertion of a position by conduct or word, reasonable reliance thereon by another party, and resulting prejudice,”
Jamison
v.
Consolidated Utilities, Inc.,
576 P.2d 97,102 (Alaska 1978) —are present in this case.
In response to this cross-appeal, the Municipality invokes arguments made in its opening brief concerning the proper interpretation of former AS 43.18.010(h)(4). Essentially, those arguments depend upon the “plain meaning rule,” discussed above, and the legislative purpose behind the whole revenue sharing scheme.
Although we are not persuaded that this statute is sufficiently straightforward to be interpreted under the “plain meaning rule,” see
Horowitz v. Alaska Bar Association,
609 P.2d 39, 41 (Alaska 1980), we agree with the superior court in reading former AS 43.18.010(h)(4) to allow the Municipality discretion to restrict the uses to which these funds were put. We also agree that use of the funds to satisfy debts incurred prior to the effective date of the revenue sharing plan under consideration was not within that discretion, since such payments cannot be regarded as restrictions placed on Providence’s use of the funds which the Municipality was obligated to pay over. The superior court’s construction of the statute is in conformity with both the legislative intent underlying it,
see
former AS 43.18.030(a), and the presumption against useless legislative acts,
see Isakson v. Rickey,
550 P.2d 359, 364 (Alaska 1976). We therefore affirm the superior court’s set-off of funds paid to Providence for services rendered during fiscal years 1974-76 as well as its refusal to allow a set-off for funds used by the Municipality to satisfy prior indebtedness.
III. Affirmative defenses.
The Municipality argues that the superior court erroneously rejected its defenses of waiver, estoppel, and laches. As to the first two, the superior court found that “the Municipality has brought forth no evidence whatever that would substantiate either of these assertions.” Likewise, the court found “no basis” for the defense of laches. We find it difficult to fault those determinations.
Both parties define waiver to mean “the intentional relinquishment of a known right.”
See Arctic Contractors, Inc. v. State,
564 P.2d 30, 40 (Alaska 1977). The record makes clear that Providence has continuously demanded the revenue sharing funds in issue here virtually from the time that former AS 43.18.050 became effective. Litigation was seriously contemplated by September 1974, and a proposed complaint and memorandum of law were forwarded to the Municipality on December 16, 1974, in the hope of avoiding litigation. Our review of the record leads us to the same conclusion as was reached by the superior court: there is no evidence whatever that Providence “intentionally relinquished” its claim at any point.
Both parties likewise rely upon the same definition of estoppel: “the assertion of a position by conduct or word, reasonable reliance thereon by another party, and resulting prejudice.”
See Jamison v. Consolidated Utilities, Inc.,
576 P.2d 97, 102 (Alaska 1978). The Municipality’s position seems to be that Providence, in failing to seek an injunction to prevent expenditure of its claimed share of the revenue sharing funds, somehow adopted a position inconsistent with the one it now asserts. We fail to see any merit in that argument, especially in view of the fact that Providence made its claim to the fund known almost from the time the statute upon which the claim was based became effective.
The Municipality’s laches defense suffers from an additional defect beyond the problems encountered by the two affirmative defenses considered above. There is substantial authority in support of Providence’s assertion that a suit for money had and received, the theory on which the superior court court based its award, is a legal, not an equitable, action.
See, e. g., Ryan v. Spaniol,
193 F.2d 551, 553 (10th Cir. 1951);
Jenkins v. Kaplan,
50 N.J.Super. 274, 141 A.2d 802, 807 (App.Div.1958);
Haggerty v. Nobles,
244 Or. 428, 419 P.2d 9, 15 (1966) (en banc). Since laches is a defense only in equitable actions, Providence argues, it is simply inapplicable to this lawsuit.
See Rinke v. Schuman,
246 Ark. 976, 440 S.W.2d 765, 768 (1969);
First Citizens’ National Bank v. MacAllister,
117 N.H. 277, 371 A.2d 1175, 1176 (1977);
Moore v. American Finance System,
236 Ga. 610, 225 S.E.2d 17,19 (1976). But because it is not entirely clear that an action for money had and received is not cognizable in equity,
see, e. g., Wilson Cypress Co.
v.
Atlantic Coast Line Railroad Co.,
109 F.2d 623, 627 (5th Cir. 1940), or that the law-equity distinction is still crucial to a determination of the applicability of laches,
see Moore v. State,
553 P.2d 8 (Alaska 1976), we review the merits of the defense.
The defense of laches requires a showing of “inexcusable delay, resulting in undue prejudice to the defendant.”
Moore v. State,
553 P.2d 8, 15 (Alaska 1976). Concerning the delay element, the record indicates that the Municipality’s claim that “Appellee let nearly three years elapse without doing a thing” is simply false. As pointed out above, Providence made its claim to revenue sharing funds known to the Municipality shortly after AS 43.18.050 came into existence. As to prejudice, the Municipality’s argument is that, having paid the disputed funds to other health facilities, it cannot retrieve them and will be prejudiced by having to pay a judgment out of a revenue source other than the state revenue sharing plan. It is difficult to understand, as Providence points out, how the prejudice suffered by the Municipality differs from that suffered by any party that loses a lawsuit. Appellant’s laches argument fails on the merits, and must be rejected even if the defense is applicable to this action.
IV. Monetary relief.
The Municipality raises in this appeal, for the first time, the argument that Providence is not entitled to monetary relief because it suffered no financial loss. Because this court has “consistently held that an issue which was not raised in the trial court will not be treated on appeal,”
University of Alaska v. Simpson Building Supply Co.,
530 P.2d 1317, 1324 (Alaska 1975), we need not consider the merits of this contention in detail.
We note, however, that an action for money had and received may be maintained whenever one has money in his hands belonging to another which, in “equity and good conscience,” should be paid over,
Atlantic Coast Line Railroad Co. v. Florida,
295 U.S. 301, 309, 55 S.Ct. 713, 716, 79 L.Ed. 1451, 1457 (1935), and that such actions have been successfully brought for recovery of public monies paid in violation of the law,
State v. Maryman,
181 Ark. 91, 24 S.W.2d 952 (1930);
In re Community Co-op. Industries,
279 Mich. 610, 273 N.W. 287 (1937). The Municipality offers no convincing authority in support of its assertions to the contrary. We therefore reject the contention that monetary relief is inappropriate in this case.
Finally, appellant urges that since this action is based upon a statute, the two year statute of limitations, AS 09.10.-070,
precludes recovery. This is an af
firmative defense which was not pled and was therefore waived.
Barrett v. Byrnes,
556 P.2d 1254, 1255 (Alaska 1977). Beyond that, an action for money had and received sounds in contract,
Puget Sound Alumni of Kappa Sigma, Inc. v. City of Seattle,
70 Wash.2d 222, 422 P.2d 799, 804 (1967) (en banc), and is therefore subject to a six yéar limitation period.
See Estate of Waters v. Hoadley,
474 P.2d 85, 86-87 (Alaska 1970).
V. Attorney’s fees.
Consolidated Case No. 5329 is an appeal of the superior court’s award of $37,936.48 in attorney’s fees, pursuant to the fee schedule contained in Alaska R.Civ.P. 82(a)(1),
to Providence as prevailing party. The Municipality’s sole claim on this appeal is that the court’s reliance on the section of that rule appropriate to actions resolved without trial constituted an abuse of discretion. This argument is anomalous in that the rule’s language requires adherence to the schedule “[ujnless the court, in its discretion, otherwise directs.” Alaska R.Civ.P. 82(a)(1).
The matter of awarding fees, as is indicated by the rule, is committed to the discretion of the trial court.
Palfy v. Rice,
473 P.2d 606, 613 (Alaska 1970). An abuse of discretion, in this context, “is established where the trial court’s determination as to attorney’s fees was manifestly unreasonable.”
Id.
Although it has been held to be “manifestly unreasonable” for a trial court to “automatically” award the full amount of attorney’s fees incurred,
Malvo v. J. C. Penney Company, Inc.,
512 P.2d 575, 587 (Alaska 1973), none of our previous decisions have held that adherence to the rule’s schedule is “manifestly unreasonable” and appellant cites none. Appellant seems, indeed, to urge that this court repudiate Civil Rule 82(a)(1) on policy grounds. We are not persuaded that such an action is warranted.
In conclusion, we are in agreement with the superior court’s interpretation of ch. 87 SLA 1973 even though it appears that the superior court relied somewhat excessively upon an administrative agency’s opinion in arriving at its interpretation of former AS 43.18.050. That court correctly rejected various affirmative defenses argued before it and awarded monetary relief and attor
ney’s fees in the proper amounts to appellee Providence.
The superior court’s judgment is therefore AFFIRMED.