Federal Government, may not be included in determining the amount of such non-Federal contributions. (B) Maintenance of effort In making a determination of the amount of non-Federal contributions for purposes of paragraph (1), the Secretary may include only non-Federal contributions in excess of the average amount of non-Federal contributions made by the State, Indian tribe, or tribal organization involved toward the purpose described in subsection (a)(1) for the 2-year period preceding the first fiscal year for which the State, Indian tribe, or tribal organization is applying to receive a grant under subsection (a). (C) Inclusion of relevant non-federal contributions for medicaid In making a determination of the amount of non-Federal contributions for purposes of paragraph (1), the Secretary shall, subject to subparagraphs (A) and (B) of this paragraph, include any non-Federal amounts expended pursuant to title XIX of the Social Security Act by the State, Indian tribe, or tribal organization related to insulin dispensed to individuals eligible for medical assistance under such title. (c) Additional required agreements (1) Statewide provision of services (A) In general The Secretary may not make a grant under subsection (a) unless the State, Indian tribe, or tribal organization involved agrees that services and activities under the grant will be made available throughout the State (including availability to members of any Indian tribe or tribal organization in the State), Indian tribe, or tribal organization. (B) Waiver (i) In general The Secretary may waive the requirement established in subparagraph (A) for a State, Indian tribe, or tribal organization if the Secretary determines that compliance by the State, Indian tribe, or tribal organization with the requirement would result in an inefficient allocation of resources with respect to carrying out the purpose described in subsection (a)(1). (ii) Indian tribes and tribal organizations If an Indian tribe or tribal organization is receiving a grant under