*126 OPINION OF THE COURT BY
Thе appellants are welfare applicants who claimed that their applications for welfare assistance were not processed within 30 days of receipt of the application as required by Federal 1 and State 2 regulations. They brought a petition for an alternative writ of mandamus before the Second Circuit Court on behalf of themselves and others similarly situated. Appellees (hereinafter “Department of Social Services and Housing” or “DSS&H”), charged with administering the State welfаre programs, moved to quash the alternative writ of mandamus that had issued, attaching thereto affidavits of appellee Tam, Public Welfare Administrator. At the hearing on the motion to quash, oral testimony of appellee Tam was also heard.
The circuit court granted the motion to quash the alternative writ of mandamus on the ground that appellants failed to state a claim upon which relief could be granted. It appears that the basis of the circuit court’s *127 judgment was “that full compliance [with the 30-day processing requirement] in the future is impossible.”
Appellants have appealed from this judgment quashing the alternative writ of mandamus.
In their opening brief the appellants urged this court to “reverse the lower court’s judgment and order the Respondent-Appellees to perform their legal duty; or, in the alternative, remand to the lower court to issue such an order.” Since we have decided to remand this case to the circuit court, we need not decide whether this court may itself issue an original order to any nonjudicial entity in exercising its appellate jurisdiction.
This being a civil action not excepted by Rule 81 of the Hawaii Rules of Civil Procedure prior to the amendments thereto effective July 1, 1972, the rules applied to the аction brought by the appellants. 3
The appellants’ petition for an alternative writ of mandamus will be treated as a complaint. HRCP Rule 7 (a). Similarly, the appellees’ motion to quash will be treated as a motion to dismiss for failure to state a claim upon which relief can be granted. HRCP Rule 12 (b) (6). Since affidavits and matters outside the pleadings were considered by the circuit court, the motion to dismiss shall be treated as one for summary judgment. HRCP Rule 12(b). Thus, the question before this court is whether the circuit court correctly granted the motion of summary judgment in favor of the movant-appellees.
On an appeal from a summary judgment, the question is whether the complaints, affidavits and other matters considered outside of the pleadings raised any
*128
genuine issue of material fact.
Richards
v.
Midkiff, 48
Haw. 32,
The circuit сourt below in essence granted summary judgment to the appellees on the ground that “full compliance [with the 30-day processing requirement] in the future is impossible.” Thus it appears that the circuit court assumed that state and federal welfare regulаtions require the processing of every welfare application within 30 days of its submission.
We believe, however, that neither the state nor federal time limits for processing welfare applications are intended to be so rigidly applied. While а number of federal cases have passed on the applicability of the federal 30-day time limit to states, none appears to have decided the extent to which a state is bound by that limit. Unlike the state agencies administering their respeсtive welfare programs in
Rodriguez
v.
Swank,
Various sections of the Social Security Act providing for categorical assistance require that applications be processed with “reasonable promptness.” 4 The rule promulgated by the Department of Health, Education & Welfare (HEW) now codified in 45 C.F.R. 206.10(a) (3) interprets “reasonable promptness” to mean within *129 thirty days. The regulation also recognizes that processing 100 percent of the applications within 50 days of their submission may not be possible. It states:
“The State’s time standards [not in excess of 30 days] apply except in unusual circumstances (e.g. where the agency cannot reach a decision because of failure or delay on the part of the applicant or an examining physician, or because of some administrative or other emergency that could not be controlled by the agency____” 45 C.F.R. 206.10 (a) (3).
In Rodriguez v. Weaver, No. 69 C 2615 (U.S. Dist. Ct. N.D. Ill. Findings of Fact Conclusions of Law & Order, February 9, 1972); see CCH Poverty Law Reporter 9 15, 136, the federal district court found that county departments of the Illinois Departmеnt of Public Aid ignored a previous court order requiring a determination of eligibility for benefits under the Aid to Families with Dependent Children (AFDC) program within 30 days. Based on this finding the court ordered that federal funds be cut off for April, 1972 unless 90 percent of the applicatiоns were processed during that month and that funds be cut off in succeeding months unless the county departments processed more than 95 percent of the applications during that time. We find it informative that the court did not require the county departments to process 100 percent of the applications in order to retain federal funding for the AFDC program. 5
We believe that Hawaii’s Department of Social Services & Housing is bound by HEW’s and its own regulations with respect to the 30-day processing time limit. What is required, however, is good faith compliance with the regulations which is reasonable in light of the resources allocated to the DSS&H to carry out its functions in the welfare area.
*130 The Supreme Court of the United States has stated:
“[Ijn every case where a statute enacts or prohibits a thing for the benefit of a person, he shall have a remedy upon the same statute for the thing enacted for his advantаge or for the recompense of a wrong done to him contrary to the said law.” Texas & Pacific Ry. v. Rigsby,241 U.S. 33 , 39 (1916).
Regulations of governmental agencies have the force of law.
State
v.
Kimball,
Since the good faith of the DSS&H does not appear to be in issue, only the reаsonableness of the extent to which the 30-day time limit is complied with remains to be discussed. In many areas of the law, what constitutes “reasonableness” of an act or condition is a question to be determined in the light of surrounding circumstances.
See, e.g., City & County
v.
Kam,
*131 We are сonvinced that the test of reasonableness is applicable in this case. The admission on the part of DSS&H that it was impossible for the department to comply in 100 percent of the cases with the 30-day regulation was not determinative of the issuе before the trial court. Furthermore, on the issue of whether the DSS&H had reasonably complied with the 30-day regulation involves a question of fact. Thus, it cannot be said that “there is no issue as to any material fact” in this case and therefore the trial сourt erred in rendering summary judgment in favor of DSS&H.
The appellant welfare applicants claim that the actions of the DSS&H discriminates between two classes of applicants: (1) those whose applications are processed within 30 days and (2) those whose applications are not processed within 30 days. It is further argued that “conservation of public funds is not a legitimate basis for discriminating between eligible recipients for welfare assistance.” Thus, they contend that the equal protеction guarantees of the United States and Hawaii Constitutions have been violated.
Even if this court agrees with the appellant welfare applicants’ argument that conservation of the public funds may not be a sufficient state interest to justify cеrtain cases of discrimination so as to be violative of the equal protection guarantees,
Shapiro
v.
Thompson,
We believe that one of the relevant factors to be considered in determining whether the DSS&H has reasonably complied with the 30-day regulation is the .amount of resources, which has been allocated to its use to accоmplish the task. Thus, a consideration of the resources available to the DSS&H as well as other surrounding circumstances relevant to DSS&H’s ability to process welfare applications within 30 days is proper in determining whether there is reasonable сompliance with the state and HEW regulations.
The claims of the appellants are of a nature that does not require exhaustion of administrative remedies. “When the relief sought is against delay in the administrative process, exhaustion is not required.”
Deering Milliken
v.
Johnston,
There being genuine issues of material fact concerning whether the number of applications processed by the DSS&H within 30 days is reasonable is yet unresolved in this case, the circuit court’s judgment granting the DSS&H’s motion to quash the alternative writ of mandamus is reversed. The case is remanded for further proceedings not inconsistent with this opinion.
The relief sought by the appellant welfare applicants seems to be equitable in nature even though couched in terms of a petition for mandamus. HRCP Rule 54 (c)
*133
states in part “every final judgment shаll grant the relief to which the party in whose favor it is rendered is entitled, even if the party has not demanded such relief in his pleadings.” Under the federal analog of this provision a United States district court granted relief in the nature of a mandatory injunction even though the complaint prayed for relief in the nature of mandamus.
Snyder
v.
Buck,
Reversed and remanded.
Notes
36 Fed. Reg. 10783, 45 C.F.R. 206.10 (a) (3).
Hawaii Public Welfare Manual § 3060.
Since July 1, 1972, the effective date of the amendments, Rule 81.1 provides:
“The writ of mandamus is abolished in the circuit courts except when directed to a court of inferior jurisdiction. Relief heretofore available by mandamus may be obtained by appropriate action or by appropriate motion under the practice prescribed in these rules. In any action in the nature of mandamus the court may shorten the time prescribed by these rules for pleading or doing any other act.”
For example, see 42 U.S.C. 302 (a) (8), 42 U.S.C. 602 (a) (4), 42 U.S.C. 1202 (a) (4) U.S.C. 1352 (a) (4).
We do not mean to imply that the regulations require 95 percent compliance; nor do we imply that cutting off funds is the sole appropriate remedy in situations of non-compliance with the application processing time limits.
45 C.F.R. 206.10 (a) (3) requires that the case record show the cause for any delay in processing an application beyond the time limit. The implication here is that the burden of justifying non-compliance should rest with the DSS&H.
