| Schedule of debt |
As of June 30, 2018, debt consisted of the following (in thousands, except percentages): | | | | | | | | | | | | | | | | | | | | | | | | | Carrying Values, net of debt discount | | Unused Borrowing Capacity | | Interest Rate (1) | | Maturity Date | | | Current | | Long Term | | Total | | | | | | | Recourse debt: | | | | | | | | | | | | | Bank line of credit | | $ | — |
| | $ | 247,000 |
| | $ | 247,000 |
| | $ | 406 |
| | 5.31% - 5.42% |
| | April 2020 | Total recourse debt | | $ | — |
| | $ | 247,000 |
| | $ | 247,000 |
| | $ | 406 |
| | | | | | | | | | | | | | | | | | Non-recourse debt: | | | | | | | | | | | | | Senior | | 15,701 |
| | 987,987 |
| | 1,003,688 |
| | 5,000 |
| | 4.23% - 5.34% |
| | September 2020 - October 2024 | Subordinated | | 4,774 |
| | 148,900 |
| | 153,674 |
| | — |
| | 6.71% - 7.82% |
| | September 2020 - October 2024 | Securitization Class A | | 3,644 |
| | 79,716 |
| | 83,360 |
| | — |
| | 4.40 | % | | July 2024 | Securitization Class B | | 452 |
| | 9,435 |
| | 9,887 |
| | — |
| | 5.38 | % | | July 2024 | Total non-recourse debt | | $ | 24,571 |
| | $ | 1,226,038 |
| | $ | 1,250,609 |
| | $ | 5,000 |
| | | | | Total debt | | $ | 24,571 |
| | $ | 1,473,038 |
| | $ | 1,497,609 |
| | $ | 5,406 |
| | | | |
| | (1) | Reflects contractual, unhedged rates. See Note 9, Derivatives for hedge rates. |
As of December 31, 2017, debt consisted of the following (in thousands, except percentages): | | | | | | | | | | | | | | | | | | | | | | | | | Carrying Values, net of debt discount | | Unused Borrowing Capacity | | Interest Rate | | Maturity Date | | | Current | | Long Term | | Total | | | | | | | Recourse debt: | | | | | | | | | | | | | Bank line of credit | | $ | — |
| | $ | 247,000 |
| | $ | 247,000 |
| | $ | 406 |
| | 4.58% - 4.87% |
| | April 2018 | Total recourse debt | | $ | — |
| | $ | 247,000 |
| | $ | 247,000 |
| | $ | 406 |
| | | | | | | | | | | | | | | | | | Non-recourse debt: | | | | | | | | | | | | | Senior | | 3,561 |
| | 804,894 |
| | 808,455 |
| | 12,758 |
| | 3.63% - 4.69% |
| | September 2020 - October 2024 | Subordinated | | 4,301 |
| | 107,187 |
| | 111,488 |
| | 27 |
| | 6.36% - 7.13% |
| | September 2020 - October 2024 | Securitization Class A | | 3,534 |
| | 82,203 |
| | 85,737 |
| | — |
| | 4.40 | % | | July 2024 | Securitization Class B | | 440 |
| | 9,644 |
| | 10,084 |
| | — |
| | 5.38 | % | | July 2024 | SREC Loans | | 9,693 |
| | 22,488 |
| | 32,181 |
| | — |
| | 7.28 | % | | July 2021 | Total non-recourse debt | | $ | 21,529 |
| | $ | 1,026,416 |
| | $ | 1,047,945 |
| | $ | 12,785 |
| | | | | Total debt | | $ | 21,529 |
| | $ | 1,273,416 |
| | $ | 1,294,945 |
| | $ | 13,191 |
| | | | |
|