; and (ii) enter into a Memorandum of Understanding with the Commission to carry out the grant program. (b) Application process (1) In general The Secretary shall— (A) establish a process for States to apply for election system cybersecurity and modernization grants; (B) in establishing the application process, consider the recommendations of the Advisory Panel under section 5(c); and (C) ensure that the application process requires that a State seeking a grant provide a detailed explanation of how election agencies within the State will implement the guidelines established under section 5(b). (2) Review The Secretary— (A) shall fund a State application if the Secretary determines that— (i) the election agencies within the State will likely implement the guidelines established under section 5(b); (ii) with respect to the guidelines related to statistical audits, consistent with section 5(d), the State will complete a statewide pilot program during a biennial Federal general election not later than 2022; and (iii) the State will match at least ten percent of the total grant allocation for election cybersecurity improvements; and (B) in reviewing a State application, shall consider the recommendations and criteria of the Advisory Panel under section 5(c). (3) State implementation (A) In general A State receiving a grant under this section may adopt any reasonable implementation of the guidelines established under section 5(b). (B) Inconsistency with State law If implementation of the guidelines would be inconsistent with State law, the State— (i) shall identify in the application of the State the legal issue and the guidelines that the State cannot implement; (ii) shall specify in the application of the State the amount of grant funds that the State would spend implementing those guidelines if the law were not inconsistent