Line of credit. The fund may have the ability to borrow from banks for temporary or emergency purposes, including meeting redemption requests that otherwise might require the untimely sale of securities. Pursuant to the fund's custodian agreement, the custodian may loan money to the fund to make properly authorized payments. The fund is obligated to repay the custodian for any overdraft, including any related costs or expenses. The custodian may have a lien, security interest or security entitlement in any fund property that is not otherwise segregated or pledged, to the extent of any overdraft, and to the maximum extent permitted by law.
The fund and other affiliated funds have entered into a syndicated line of credit agreement with Citibank, N.A. as the administrative agent that enables them to participate in a $750 million unsecured committed line of credit. Excluding commitments designated for a certain fund and subject to the need of all other affiliated funds, the fund can borrow up to an aggregate commitment amount of $500 million, subject to asset coverage and other limitations as specified in the agreement. A commitment fee payable at the end of each calendar quarter, based on the average daily unused portion of the line of credit, is charged to each participating fund based on a combination of fixed and asset based allocations and is reflected in Other expenses on the Statement of operations. For the six months ended January 31, 2018, the fund had no borrowings under the line of credit. Commitment fees for the six months ended January 31, 2018 were $1,485.
Expenses. Within the John Hancock group of funds complex, expenses that are directly attributable to an individual fund are allocated to such fund. Expenses that are not readily attributable to a specific fund are allocated among all funds in an equitable manner, taking into consideration, among other things, the nature and type of expense and the fund's relative net assets. Expense estimates are accrued in the period to which they relate and adjustments are made when actual amounts are known.
Class allocations. Income, common expenses and realized and unrealized gains (losses) are determined at the fund level and allocated daily to each class of shares based on the net assets of the class. Class-specific expenses, such as distribution and service fees, if any, and transfer agent fees, for all classes, are charged daily at the class level based on the net assets of each class and the specific expense rates applicable to each class.
Federal income taxes. The fund intends to continue to qualify as a regulated investment company by complying with the applicable provisions of the Internal Revenue Code and will not be subject to federal income tax on taxable income that is distributed to shareholders. Therefore, no federal income tax provision is required.
For federal income tax purposes, as of July 31, 2017, the fund has a short-term capital loss carryforward of $9,147,800 and a long-term capital loss carryforward of $34,755,225 available to offset future net realized capital gains. These carryforwards do not expire.
As of July 31, 2017, the fund had no uncertain tax positions that would require financial statement recognition, derecognition or disclosure. The fund's federal tax returns are subject to examination by the Internal Revenue Service for a period of three years.
Distribution of income and gains. Distributions to shareholders from net investment income and net realized gains, if any, are recorded on the ex-date. The fund generally declares dividends daily and pays them monthly. Capital gain distributions, if any, are typically distributed annually.
Distributions paid by the fund with respect to each class of shares are calculated in the same manner, at the same time and in the same amount, except for the effect of class level expenses that may be applied differently to each class.
Such distributions, on a tax basis, are determined in conformity with income tax regulations, which may differ from US GAAP.
Capital accounts within the financial statements are adjusted for permanent book-tax differences. These adjustments have no impact on net assets or the results of operations. Temporary book-tax differences, if any, will reverse in a subsequent period. Book-tax differences are primarily attributable to foreign currency transactions, wash sale loss deferrals, defaulted bonds, grantor trusts, derivative transactions, and amortization and accretion on debt securities.
Note 3 — Derivative instruments
The fund may invest in derivatives in order to meet its investment objectives. Derivatives include a variety of different instruments that may be traded in the over-the-counter (OTC) market, on a regulated exchange or through a clearing facility. The risks in using derivatives vary depending upon the structure of the instruments, including the use of leverage, optionality, the liquidity or lack of