; by (bb) the number of months that the eligible veteran participates in the pilot program; and (III) the amount of training assistance received by the eligible veteran in clause (iv). (ii) Maximum grant amount The maximum grant amount specified in this clause is the following: (I) In the case of an eligible veteran entitled to educational assistance under chapter 33 of title 38, United States Code, the amount equal to the product obtained by multiplying— (aa) the number of months of educational assistance to which the eligible veteran is entitled on the date that the eligible veteran submits an application; by (bb) the pro rata monthly rate of the amount that the eligible veteran is entitled to under paragraph (1)(A)(ii)(II) of section 3313(c) of that title, subject to paragraphs (2) through (7) of that section. (II) In the case of an eligible veteran entitled to educational assistance under chapter 30 of title 38, United States Code, the amount equal to the product obtained by multiplying— (aa) the number of months of educational assistance to which the eligible veteran is entitled on the date that the eligible veteran submits an application; by (bb) the rate in effect under section 3015(a)(1) of that title. (iii) Additional assistance (I) Period of eligibility An eligible veteran shall receive the amount described in subclause (II) for each month that the eligible veteran participates in the pilot program. (II) Amount The amount of the additional assistance specified in this subclause is an amount, paid to the eligible veteran on a monthly basis, equal to the product obtained by multiplying— (aa) the monthly amount of the basic allowance for housing payable under section 403 of title 37, United States Code, for a member with dependents in pay grade E–5 residing in the military housing area that encompasses all or the majority portion of the ZIP Code area in which is located the residence of the eligible veteran (similar to the calculation made under section 3313(c)(1)(B)(i)(I) of title 38, United States Code)