<?xml version="1.0"?>
<html xmlns="http://www.w3.org/1999/xhtml" 
xmlns:xule="http://xbrl.us/xendr/2.0/template"
xmlns:ixt1="http://www.xbrl.org/inlineXBRL/transformation/2010-04-20"
xmlns:ixt4="http://www.xbrl.org/inlineXBRL/transformation/2020-02-12"
xmlns:ferc="http://ferc.gov/form/2026-04-01/ferc"
xmlns:ferc-part="http://www.ferc.gov/form/parts"
>

<head>
    <title>Template - F1 - 256</title>
    <meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
    <link rel="stylesheet" type="text/css" href="form-template.css"/>
</head>

<body class="xbrl" id="ScheduleLongTermDebtAbstract">
    <table class="schedule-header xbrl" width="100%">
            <tr>
                <td class="xbrl">
                    <xule:replace>
                        <xule:expression class="hide">taxonomy().concept(ferc:RespondentLegalName).label("http://ferc.gov/form/2020-01-01/roles/label/F1Header").text</xule:expression>
                        <xule:template-display>Name of Respondent:</xule:template-display>
                    </xule:replace><br/>
                    <xule:replace>
                        <xule:expression class="hide" fact="true">[@ferc:RespondentLegalName @period=$currentDuration]</xule:expression>
                        <xule:template-display>Name of Respondent:</xule:template-display>
                    </xule:replace>
                </td>
                <td class="xbrl">
                    <xule:replace>
                        <xule:expression class="hide">taxonomy().concept(ferc:SubmissionType).label("http://ferc.gov/form/2020-01-01/roles/label/F1Header").text</xule:expression>
                        <xule:template-display>This report is:</xule:template-display>
                    </xule:replace>
                        <br/>
                        (1) 
                    <xule:replace>
                            <xule:expression html="true" class="hide">if missing({covered @concept=ferc:SubmissionType}) "<![CDATA[
                            <span class=\"checkbox\">&#9744;</span> An Original]]>" else if [@concept=ferc:SubmissionType @period=$currentDuration] == "O" "<![CDATA[
                            <span class=\"checkbox\">&#9745;</span> An Original]]>" else "<![CDATA[
                            <span class=\"checkbox\">&#9744;</span> An Original]]>"
                            </xule:expression>  
                        <xule:template-display>
                                <input type="checkbox"/> An Original
                        </xule:template-display>
                    </xule:replace>
                    <br/>
                        (2)
                    <xule:replace>
                            <xule:expression html="true" class="hide">if missing([covered @concept=ferc:SubmissionType @period=$currentDuration]) "<![CDATA[
                            <span class=\"checkbox\">&#9744;</span> A Resubmission]]>" else if [@concept=ferc:SubmissionType @period=$currentDuration] == "R" "<![CDATA[
                            <span class=\"checkbox\">&#9745;</span> A Resubmission]]>" else "<![CDATA[
                            <span class=\"checkbox\">&#9744;</span> A Resubmission]]>"
                                </xule:expression> 
                            <xule:template-display>
                                    <input type="checkbox" checked = "checked"/> A Resubmission
                            </xule:template-display>
                    </xule:replace> 
                </td>
                <td class="xbrl"><xule:replace>
                    <xule:expression class="hide">taxonomy().concept(ferc:ReportDate).label("http://ferc.gov/form/2020-01-01/roles/label/F1Header").text</xule:expression>
                    <xule:template-display>Date of Report:</xule:template-display>
                    </xule:replace><br/>
                        <xule:replace>
                            <xule:expression class="hide" fact="true" format="ixt4:date-month-day-year">[@ferc:ReportDate @period=$currentDuration]</xule:expression>
                            <xule:template-display>04/26/2019</xule:template-display>
                    </xule:replace>
                </td>
                <td class="xbrl"><xule:replace>
                    <xule:expression class="hide">taxonomy().concept(ferc:ReportYearPeriod).label("http://ferc.gov/form/2020-01-01/roles/label/F1Header").text</xule:expression>
                    <xule:template-display>Year/Period of Report:</xule:template-display>
                    </xule:replace><br/>
                    End of: <xule:replace>
                        <xule:expression class="hide" fact="true">[@ferc:ReportYear @period=$currentDuration]</xule:expression>
                        <xule:template-display>2018</xule:template-display>
                    </xule:replace>
                    <span>/</span>
                    <xule:replace>
                        <xule:expression class="hide" fact="true">[@ferc:ReportPeriod @period=$currentDuration]</xule:expression>
                        <xule:template-display>Q4</xule:template-display>
                    </xule:replace>
                </td>
            </tr>
    </table>
    <table class="xbrl" width="100%">
        <tr class="sch-title">
            <td colspan="14" class="xbrl">
                <xule:replace>
                        <xule:expression class="hide">taxonomy().concept(ferc:ScheduleLongTermDebtAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F1ScheduleTitle").text
                        </xule:expression>
                        <xule:template-display>
                            Long-Term Debt (Accounts 221, 222, 223, and 224)
                        </xule:template-display>
                </xule:replace>
            </td>
        </tr>
        <tr>
            <td class="instruction xbrl" colspan="14">
                <xule:replace>
                    <xule:expression class="hide" html="true">taxonomy().concept(ferc:ScheduleLongTermDebtAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F1Instructions").text
                    </xule:expression>
                    <xule:template-display>
                        <ol>
                            <li>Report by balance sheet account the particulars (details) concerning long-term debt included in Accounts 221, Bonds, 222, Reacquired Bonds, 223, Advances from Associated Companies, and 224, Other long-Term Debt.</li>
                            <li>In column (a), for new issues, give Commission authorization numbers and dates.</li>
                            <li>For bonds assumed by the respondent, include in column (a) the name of the issuing company as well as a description of the bonds.</li>
                            <li>For advances from Associated Companies, report separately advances on notes and advances on open accounts.  Designate demand notes as such.  Include in column (a) names of associated companies from which advances were received.</li>
                            <li>For receivers, certificates, show in column (a) the name of the court -and date of court order under which such certificates were issued.</li>
                            <li>In column (b) show the principal amount of bonds or other long-term debt originally issued.</li>
                            <li>In column (c) show the expense, premium or discount with respect to the amount of bonds or other long-term debt originally issued.</li>
                            <li>For column (c) the total expenses should be listed first for each issuance, then the amount of premium (in parentheses) or discount. Indicate the premium or discount with a notation, such as (P) or (D).  The expenses, premium or discount should not be netted.</li>
                            <li>Furnish in a footnote particulars (details) regarding the treatment of unamortized debt expense, premium or discount associated with issues redeemed during the year.  Also, give in a footnote the date of the Commission’s authorization of treatment other than as specified by the Uniform System of Accounts.</li>
                            <li>Identify separate undisposed amounts applicable to issues which were redeemed in prior years.</li>
                            <li>Explain any debits and credits other than debited to Account 428, Amortization and Expense, or credited to Account 429, Premium on Debt - Credit.</li>
                            <li>In a footnote, give explanatory (details) for Accounts 223 and 224 of net changes during the year.  With respect to long-term advances, show for each company:  (a) principal advanced during year, (b) interest added to principal amount, and (c) principle repaid during year.  Give Commission authorization numbers and dates.</li>
                            <li>If the respondent has pledged any of its long-term debt securities give particulars (details) in a footnote including name of pledgee and purpose of the pledge.</li>
                            <li>If the respondent has any long-term debt securities which have been nominally issued and are nominally outstanding at end of year, describe such securities in a footnote.</li>
                            <li>If interest expense was incurred during the year on any obligations retired or reacquired before end of year, include such interest expense in column (i).  Explain in a footnote any difference between the total of column (i) and the total of Account 427, interest on Long-Term Debt and Account 430, Interest on Debt to Associated Companies.</li>
                            <li>Give particulars (details) concerning any long-term debt authorized by a regulatory commission but not yet issued.</li>
                        </ol>
                    </xule:template-display>
                </xule:replace>
            </td>
        </tr>
       <tr class="col-heading-row">     
            <td class="col-heading xbrl line-number">Line No.</td>
            <td class="col-heading xbrl" xule:repeat="LongTermDebtHeadings">
                    <xule:expression class="hide" name="LongTermDebtHeadings">
                            $headings = filter (taxonomy().concept(ferc:ScheduleLongTermDebtAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "256 - Schedule - Long-Term Debt - Bonds 221") 
    
                            $heading = list(for $ref in $headings 
                                list($ref.part-by-name(ferc-part:Column).part-value, $ref.part-by-name(ferc-part:ColumnName).part-value, $ref.part-by-name(ferc-part:ElementName).part-value))
        
                                $heading_dict = dict(for $row in $heading
                                        list("("+$row[1]+")",list($row[2],if $row[3] == none "" else taxonomy().concept(to-qname($row[3]))))
                                );
                                for $row in $heading_dict.keys.sort
                    </xule:expression>
                    <div style="text-align: center">
                        <div class="tooltip">
                                <div class="tooltiptext">
                                        <xule:replace>
                                                <xule:expression class="hide" name="LongTermDebtHeadings" part="3">if $heading_dict[$row][2] != "" $heading_dict[$row][2].name.local-name else "" </xule:expression>
                                            </xule:replace>
                                </div>    
                            <xule:replace>
                                <xule:expression class="hide" html="true" name="LongTermDebtHeadings" part="1">$heading_dict[$row][1]</xule:expression>
                                <xule:template-display>
                                    Nature of Payment
                                </xule:template-display>
                            </xule:replace>
                        </div>
                    </div>

                    <div style="text-align: center"><xule:replace>
                            <xule:expression class="hide" name="LongTermDebtHeadings" part="2">$row</xule:expression>
                            <xule:template-display>
                                (a)
                            </xule:template-display>
                    </xule:replace></div>
                </td>
        </tr> 
        <!--<tr class="col-heading-row">
            <td class="col-heading xbrl line-number" rowspan="2">Line No.</td>
            <td class="col-heading xbrl" rowspan="2">
                    <div class="tooltip">
                            <div class="tooltiptext">ClassAndSeriesOfObligationCouponRateDescription</div>
                <xule:replace>
                    <xule:expression class="hide">
                        taxonomy().concept(ferc:ClassAndSeriesOfObligationCouponRateDescription).label("http://ferc.gov/form/2020-01-01/roles/label/F1LongTermDebt").text
                    </xule:expression>
                    <xule:template-display>
                        Class and Series of Obligation, Coupon Rate (For new issue, give commission Authorization numbers and dates)
                    </xule:template-display>
                </xule:replace>
                    </div>
                <div>(a)</div>
            </td>
            <td class="col-heading xbrl" rowspan="2">
                    <div class="tooltip">
                            <div class="tooltiptext">RelatedAccountNumber</div>
                    <xule:replace>
                        <xule:expression class="hide">
                            taxonomy().concept(ferc:RelatedAccountNumber).label("http://ferc.gov/form/2020-01-01/roles/label/F1LongTermDebt").text
                        </xule:expression>
                        <div style="text-align: center">
                            <xule:template-display>
                                Related Account Number
                            </xule:template-display>
                        </div>
                    </xule:replace>
                    </div>
                    <div>(b)</div>
            </td>
            <td class="col-heading xbrl" rowspan="2">
                <div class="tooltip">
                        <div class="tooltiptext">Row specific element</div>
                <xule:replace>
                    <xule:expression class="hide">
                        taxonomy().concept(ferc:BondsPrincipalAmountIssued).label("http://ferc.gov/form/2020-01-01/roles/label/F1LongTermDebt").text
                    </xule:expression>
                    <div style="text-align: center">
                        <xule:template-display>
                            Principal Amount Of Debt issued
                        </xule:template-display>
                    </div>
                </xule:replace>
                </div>
                <div>(c)</div>
            </td>
            <td class="col-heading xbrl" rowspan="2">
                <div class="tooltip">
                        <div class="tooltiptext">LongTermDebtPremium</div>
                <xule:replace>
                    <xule:expression class="hide">
                        taxonomy().concept(ferc:LongTermDebtPremium).label("http://ferc.gov/form/2020-01-01/roles/label/F1LongTermDebt").text
                    </xule:expression>
                    <div style="text-align: center">
                        <xule:template-display>
                            Premium
                        </xule:template-display>
                    </div>
                </xule:replace>
                </div>
                <div>(d)</div>
            </td>
            <td class="col-heading xbrl" rowspan="2">
                <div class="tooltip">
                        <div class="tooltiptext">LongTermDebtDiscount</div>
                <xule:replace>
                    <xule:expression class="hide">
                        taxonomy().concept(ferc:LongTermDebtDiscount).label("http://ferc.gov/form/2020-01-01/roles/label/F1LongTermDebt").text
                    </xule:expression>
                    <div style="text-align: center">
                        <xule:template-display>
                            Discount
                        </xule:template-display>
                    </div>
                </xule:replace>
                </div>
                <div>(e)</div>
            </td>
            <td class="col-heading xbrl" rowspan="2">
                <div class="tooltip">
                        <div class="tooltiptext">NominalDateOfIssue</div>
                <xule:replace>
                    <xule:expression class="hide">
                        taxonomy().concept(ferc:NominalDateOfIssue).label("http://ferc.gov/form/2020-01-01/roles/label/F1LongTermDebt").text
                    </xule:expression>
                    <div style="text-align: center">
                        <xule:template-display>
                            Nominal Date of Issue
                        </xule:template-display>
                    </div>
                </xule:replace>
                </div>
                <div>(f)</div>
            </td>
            <td class="col-heading xbrl" rowspan="2">
                <div class="tooltip">
                        <div class="tooltiptext">DateOfMaturity</div>
                <xule:replace>
                    <xule:expression class="hide">
                        taxonomy().concept(ferc:DateOfMaturity).label("http://ferc.gov/form/2020-01-01/roles/label/F1LongTermDebt").text
                    </xule:expression>
                    <div style="text-align: center">
                        <xule:template-display>
                            Date of Maturity
                        </xule:template-display>
                    </div>
                </xule:replace>
                </div>
                <div>(g)</div>
            </td>
            <td class="col-heading xbrl" colspan="2">
                AMORTIZATION PERIOD
            </td>
            <td class="col-heading xbrl" rowspan="2">
                <div class="tooltip">
                        <div class="tooltiptext">Bonds</div>
                <xule:replace>
                    <xule:expression class="hide">
                        taxonomy().concept(ferc:Bonds).label("http://ferc.gov/form/2020-01-01/roles/label/F1LongTermDebt").text
                    </xule:expression>
                    <div style="text-align: center">
                        <xule:template-display>
                            Outstanding (Total amount outstanding without reduction for amounts held by respondent)
                        </xule:template-display>
                    </div>
                </xule:replace>
                </div>
                <div>(i)</div>
            </td>
            <td class="col-heading xbrl" rowspan="2">
                <div class="tooltip">
                        <div class="tooltiptext">InterestExpenseBonds</div>
                <xule:replace>
                    <xule:expression class="hide">
                        taxonomy().concept(ferc:InterestExpenseBonds).label("http://ferc.gov/form/2020-01-01/roles/label/F1LongTermDebt").text
                    </xule:expression>
                    <div style="text-align: center">
                        <xule:template-display>
                            Interest for Year Amount
                        </xule:template-display>
                    </div>
                </xule:replace>
                </div>
                <div>(j)</div>
            </td>
        </tr>



        <tr class="col-heading-row">
            <td class="col-heading xbrl">
                <div class="tooltip">
                        <div class="tooltiptext">AmortizationPeriodStartDate</div>
                <xule:replace>
                    <xule:expression class="hide">
                        taxonomy().concept(ferc:AmortizationPeriodStartDate).label("http://ferc.gov/form/2020-01-01/roles/label/F1LongTermDebt").text
                    </xule:expression>
                    <div style="text-align: center">
                        <xule:template-display>
                            Date From
                        </xule:template-display>
                    </div>
                </xule:replace>
                </div>
                <div>(g)</div>
            </td>
            <td class="col-heading xbrl">
                <div class="tooltip">
                        <div class="tooltiptext">AmortizationPeriodEndDate</div>
                <xule:replace>
                    <xule:expression class="hide">
                        taxonomy().concept(ferc:AmortizationPeriodEndDate).label("http://ferc.gov/form/2020-01-01/roles/label/F1LongTermDebt").text
                    </xule:expression>
                    <div style="text-align: center">
                        <xule:template-display>
                            Date To
                        </xule:template-display>
                    </div>
                </xule:replace>
                </div>
                <div>(h)</div>
            </td>
        </tr>-->
         <!-- Bonds (Account 221) Heading -->
        <tr>
            <td class="xbrl line-number">1</td>
            <td class="xbrl description_items">
                <xule:replace>
                    <xule:expression class="hide">
                        taxonomy().concept(ferc:OutstandingBondsAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F1LongTermDebt").text
                    </xule:expression>
                    <div>
                        <xule:template-display>
                         Bonds (Account 221)
                        </xule:template-display>
                    </div>
                </xule:replace>
            </td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
        </tr>
        <!-- Bonds (Account 221) -->
        <tr class="schedule-row" xule:repeat="BondsLineItems">
            <xule:expression class="hide" name="BondsLineItems">// adding a comment
            /** comment within XULE expression
            **/    
            $data2 =   list(for $i in range(3)
                            list($i,none,none,none,none,none,none,none,none,none,none,none,none) 
            );
            
            $data = if count(list({covered @ferc:BondObligationsAxis=*})) > 0 
            
                    list({covered @ferc:BondObligationsAxis=*  {list(
                        
                    if list({@ferc:OrderNumber @unit=* @period=$currentDuration}).length > 0
                        first(list({@ferc:OrderNumber @unit=* @period=$currentDuration}))
                    else
                        0,
                    if list({@ferc:ClassAndSeriesOfObligationCouponRateDescription @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:ClassAndSeriesOfObligationCouponRateDescription @unit @period=$currentDuration}))
                    else
                        none,
                    if list({@ferc:RelatedAccountNumber @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:RelatedAccountNumber @unit @period=$currentDuration}))
                    else
                        none,
                    if list({@ferc:BondsPrincipalAmountIssued @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:BondsPrincipalAmountIssued @unit @period=$currentDuration}))
                    else
                        none,
                    if list({@ferc:BondIssuanceExpense @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:BondIssuanceExpense @unit @period=$currentDuration}))
                    else
                        none,
                    if list({@ferc:BondsPremium @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:BondsPremium @unit @period=$currentDuration}))
                    else
                        none,
                    if list({@ferc:BondsDiscount @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:BondsDiscount @unit @period=$currentDuration}))
                    else 
                        none,
                    if list({@ferc:NominalDateOfIssue @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:NominalDateOfIssue @unit @period=$currentDuration}))
                    else 
                        none,
                    if list({@ferc:DateOfMaturity @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:DateOfMaturity @unit @period=$currentDuration}))
                    else 
                        none,
                    if list({@ferc:AmortizationPeriodStartDate @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:AmortizationPeriodStartDate @unit @period=$currentDuration}))
                    else 
                        none,
                    if list({@ferc:AmortizationPeriodEndDate @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:AmortizationPeriodEndDate @unit @period=$currentDuration}))
                    else 
                        none,
                    if list({@ferc:Bonds @unit @period=$currentInstant}).length > 0
                        first(list({@ferc:Bonds @unit @period=$currentInstant}))
                    else 
                        none,
                    if list({@ferc:InterestExpenseBonds @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:InterestExpenseBonds @unit @period=$currentDuration}))
                    else 
                        none
                )}})
                else $data2;
                
            
                $uniqueData = list(for $x in  $data
                if $x == list(0,none,none,none,none,none,none,none,none,none,none,none,none)
                    skip
                else 
                    $x
                );

                for $row in $uniqueData.sort       
            

            </xule:expression>
            <td class="xbrl line-number"><xule:lineNumber name="BondsLineItems"><xule:startNumber>2</xule:startNumber></xule:lineNumber>
                <xule:template-display>2</xule:template-display>
            </td>
            <td class="xbrl description_items"><xule:replace><xule:expression  class="hide"  name="BondsLineItems" fact="true" part="2">$row[2]</xule:expression></xule:replace>
                <xule:template-display>
                        Fixed Rate Senior Notes - 5.625% 
                </xule:template-display>
            </td>
            <td class="xbrl account-number"><xule:replace><xule:expression  class="hide"  name="BondsLineItems" fact="true" part="3">$row[3]</xule:expression></xule:replace>
                <xule:template-display>
                        Account 221
                </xule:template-display>
            </td>
            <td class="xbrl monetary_items"><xule:replace><xule:expression class="hide"  name="BondsLineItems" fact="true" format="ixt4:num-dot-decimal" part="4">$row[4]</xule:expression></xule:replace>
                <xule:template-display>
                        $10,000,000
                </xule:template-display>
            </td>
            <td class="xbrl gray-out"></td> <!-- Total Expense, Premium or Discount (only for historical data section) -->
            <td class="xbrl monetary_items"><xule:replace><xule:expression class="hide"  name="BondsLineItems" fact="true" format="ixt4:num-dot-decimal" part="5">$row[5]</xule:expression></xule:replace>
                <xule:template-display>
                        $1,000,000                              
                </xule:template-display>
            </td>
            <td class="xbrl monetary_items"><xule:replace><xule:expression class="hide"  name="BondsLineItems" fact="true" format="ixt4:num-dot-decimal" part="6">$row[6]</xule:expression></xule:replace>
                <xule:template-display>
                        $75,000
                </xule:template-display>
            </td>
            <td class="xbrl monetary_items"><xule:replace><xule:expression class="hide"  name="BondsLineItems" fact="true" format="ixt4:num-dot-decimal" part="7">$row[7]</xule:expression></xule:replace>
                <xule:template-display>
                        $75,000
                </xule:template-display>
            </td>
            <td class="xbrl date_items"><xule:replace><xule:expression class="hide"  name="BondsLineItems" fact="true" format="ixt4:date-month-day-year" part="8">$row[8]</xule:expression></xule:replace>
                <xule:template-display>
                        03/28/2016
                </xule:template-display>
            </td>
            <td class="xbrl date_items"><xule:replace><xule:expression class="hide"  name="BondsLineItems" fact="true" format="ixt4:date-month-day-year" part="9">$row[9]</xule:expression></xule:replace>
                <xule:template-display>
                        03/28/2021
                </xule:template-display>
            </td>
            <td class="xbrl date_items"><xule:replace><xule:expression class="hide"  name="BondsLineItems" fact="true" format="ixt4:date-month-day-year" part="10">$row[10]</xule:expression></xule:replace>
                <xule:template-display>
                    03/28/2017  
                </xule:template-display>
            </td>
            <td class="xbrl date_items"><xule:replace><xule:expression class="hide"  name="BondsLineItems" fact="true" format="ixt4:date-month-day-year" part="11">$row[11]</xule:expression></xule:replace>
                <xule:template-display>
                        02/28/2021  
                </xule:template-display>
            </td>
            <td class="xbrl monetary_items"><xule:replace><xule:expression class="hide"  name="BondsLineItems" fact="true" format="ixt4:num-dot-decimal" part="12">$row[12]</xule:expression></xule:replace>
                <xule:template-display>
                        $104,000,000
                </xule:template-display>
            </td>
            <td class="xbrl monetary_items"><xule:replace><xule:expression class="hide"  name="BondsLineItems" fact="true" format="ixt4:num-dot-decimal" part="13">$row[13]</xule:expression></xule:replace>
                <xule:template-display>
                        $10,000
                </xule:template-display>
            </td>
        </tr>
    <!-- Subtotal for Bonds (Account 221) -->
        <tr>
            <td class="xbrl line-number">
                    <xule:replace><xule:expression class="hide">
                        $bonds_heading = 1
                        $bonds_subtotal = 1
                        $bonds = if count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:BondObligationsAxis=*])) > 0
                                    count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:BondObligationsAxis=*]))
                                else
                                    3;        
           
                        $bonds_heading + $bonds + $bonds_subtotal
                    </xule:expression></xule:replace>
                        <xule:template-display>
                            1
                        </xule:template-display>
            </td>
            <td class="xbrl description_items">Subtotal</td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl monetary_items">
                <xule:replace>
                        <xule:expression class="hide" fact="true" format="ixt4:num-dot-decimal">max(list([covered @concept=ferc:BondsPrincipalAmountIssued @period = $currentDuration]))
                        </xule:expression>
                        <xule:template-display>
                                $22,025,000 
                        </xule:template-display>
                </xule:replace>  
            </td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl monetary_items">
                <xule:replace>
                        <xule:expression class="hide" fact="true" format="ixt4:num-dot-decimal">max(list([covered @concept=ferc:BondIssuanceExpense @period = $currentDuration]))
                        </xule:expression>
                        <xule:template-display>
                                $2,065,800 
                        </xule:template-display>
                </xule:replace>  
            </td>
            <td class="xbrl monetary_items">
                <xule:replace>
                        <xule:expression class="hide" fact="true" format="ixt4:num-dot-decimal">max(list([covered @concept=ferc:BondsPremium @period = $currentDuration]))
                        </xule:expression>
                        <xule:template-display>
                                $2,065,800 
                        </xule:template-display>
                </xule:replace>  
            </td>
            <td class="xbrl monetary_items">
                    <xule:replace>
                            <xule:expression class="hide" fact="true" format="ixt4:num-dot-decimal">max(list([covered @concept=ferc:BondsDiscount @period = $currentDuration]))
                            </xule:expression>
                            <xule:template-display>
                                    $1,092,000 
                            </xule:template-display>
                    </xule:replace>  
            </td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl monetary_items">
                    <xule:replace>
                            <xule:expression class="hide" fact="true" format="ixt4:num-dot-decimal">max(list([covered @concept=ferc:Bonds @period=$currentInstant]))
                            </xule:expression>
                            <xule:template-display>
                                    $147,642,716
                            </xule:template-display>
                    </xule:replace>  
            </td>
            <td class="xbrl monetary_items">
                    <xule:replace>
                            <xule:expression class="hide" fact="true" format="ixt4:num-dot-decimal">max(list([covered @concept=ferc:InterestExpenseBonds @period=$currentDuration]))
                            </xule:expression>
                            <xule:template-display>
                                    $10,345
                            </xule:template-display>
                    </xule:replace>  
            </td>

        </tr>
            <!-- Reacquired Bonds (Account 222) Heading -->
            <tr>
            <td class="xbrl line-number"><xule:replace><xule:expression class="hide">
                    $heading = 2
                    $subtotal = 1
                    $bonds = if count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:BondObligationsAxis=*])) > 0
                                count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:BondObligationsAxis=*]))
                            else
                                3;
       
                    $heading + $bonds + $subtotal</xule:expression></xule:replace>
            </td>
            <td class="xbrl description_items">
                <xule:replace>
                    <xule:expression class="hide">
                        taxonomy().concept(ferc:OutstandingReacquiredBondsAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F1LongTermDebt").text
                    </xule:expression>
                    <div>
                        <xule:template-display>
                                Reacquired Bonds (Account 222)
                        </xule:template-display>
                    </div>
                </xule:replace>
            </td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
        </tr>
        <!-- Reacquired Bonds (Account 222) -->
        <tr class="schedule-row" xule:repeat="ReacquiredBondsLineItems">
            <xule:expression class="hide" name="ReacquiredBondsLineItems">// adding a comment
            /** comment within XULE expression
            **/    
            $data2 =   list(for $i in range(3)
                            list($i,none,none,none,none,none,none,none,none,none,none,none,none) 
            );
            
            $data = if count(list({covered @ferc:ReAcquiredBondObligationsAxis=*})) > 0 
            
                    list({covered @ferc:ReAcquiredBondObligationsAxis=*  {list(
                        
                    if list({@ferc:OrderNumber @unit=* @period=$currentDuration}).length > 0
                        first(list({@ferc:OrderNumber @unit=* @period=$currentDuration}))
                    else
                        0,
                    if list({@ferc:ClassAndSeriesOfObligationCouponRateDescription @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:ClassAndSeriesOfObligationCouponRateDescription @unit @period=$currentDuration}))
                    else
                        none,
                    if list({@ferc:RelatedAccountNumber @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:RelatedAccountNumber @unit @period=$currentDuration}))
                    else
                        none,
                    if list({@ferc:ReacquiredBondsPrincipalAmount @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:ReacquiredBondsPrincipalAmount @unit @period=$currentDuration}))
                    else
                        none,
                    if list({@ferc:ReacquiredBondsIssuanceExpense @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:ReacquiredBondsIssuanceExpense @unit @period=$currentDuration}))
                    else
                        none,
                    if list({@ferc:ReaquiredBondsPremium @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:ReaquiredBondsPremium @unit @period=$currentDuration}))
                    else
                        none,
                    if list({@ferc:ReaquiredBondsDiscount @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:ReaquiredBondsDiscount @unit @period=$currentDuration}))
                    else 
                        none,
                    if list({@ferc:NominalDateOfIssue @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:NominalDateOfIssue @unit @period=$currentDuration}))
                    else 
                        none,
                    if list({@ferc:DateOfMaturity @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:DateOfMaturity @unit @period=$currentDuration}))
                    else 
                        none,
                    if list({@ferc:AmortizationPeriodStartDate @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:AmortizationPeriodStartDate @unit @period=$currentDuration}))
                    else 
                        none,
                    if list({@ferc:AmortizationPeriodEndDate @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:AmortizationPeriodEndDate @unit @period=$currentDuration}))
                    else 
                        none,
                    if list({@ferc:ReacquiredBonds @unit @period=$currentInstant}).length > 0
                        first(list({@ferc:ReacquiredBonds @unit @period=$currentInstant}))
                    else 
                        none,
                    if list({@ferc:InterestExpenseReacquiredBonds @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:InterestExpenseReacquiredBonds @unit @period=$currentDuration}))
                    else 
                        none
                )}})
                else $data2;
                
            
                $uniqueData = list(for $x in  $data
                if $x == list(0,none,none,none,none,none,none,none,none,none,none,none,none)
                    skip
                else 
                    $x
                );

                for $row in $uniqueData.sort       
            

            </xule:expression>
            <td class="xbrl line-number"><xule:lineNumber name="ReacquiredBondsLineItems">
                    <xule:startNumber>
                            $heading = 2;
                            $subtotal = 1;
                            $bonds = if count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:BondObligationsAxis=*])) > 0
                                        count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:BondObligationsAxis=*]))
                                    else
                                        3;
               
                            $heading + $bonds + 1 + $subtotal
                    </xule:startNumber></xule:lineNumber>
                <xule:template-display>1</xule:template-display>
            </td>
            <td class="xbrl description_items"><xule:replace><xule:expression  class="hide"  name="ReacquiredBondsLineItems" fact="true" part="2">$row[2]</xule:expression></xule:replace>
                <xule:template-display>
                        Fixed Rate Senior Notes - 5.625% 
                </xule:template-display>
            </td>
            <td class="xbrl account-number"><xule:replace><xule:expression  class="hide"  name="ReacquiredBondsLineItems" fact="true" part="3">$row[3]</xule:expression></xule:replace>
                <xule:template-display>
                        Account 222
                </xule:template-display>
            </td>
            <td class="xbrl monetary_items"><xule:replace><xule:expression class="hide"  name="ReacquiredBondsLineItems" fact="true" format="ixt4:num-dot-decimal" part="4">$row[4]</xule:expression></xule:replace>
                <xule:template-display>
                        $10,000,000
                </xule:template-display>
            </td>
            <td class="xbrl gray-out"></td> <!-- Reacquired Bonds - Total expense, premium or Discount - The column is only for historical. -->
            <td class="xbrl monetary_items"><xule:replace><xule:expression class="hide"  name="ReacquiredBondsLineItems" fact="true" format="ixt4:num-dot-decimal" part="5">$row[5]</xule:expression></xule:replace>
                <xule:template-display>
                        $1,000,000                              
                </xule:template-display>
            </td>
            <td class="xbrl monetary_items"><xule:replace><xule:expression class="hide"  name="ReacquiredBondsLineItems" fact="true" format="ixt4:num-dot-decimal" part="6">$row[6]</xule:expression></xule:replace>
                <xule:template-display>
                        $75,000
                </xule:template-display>
            </td>
            <td class="xbrl monetary_items"><xule:replace><xule:expression class="hide"  name="ReacquiredBondsLineItems" fact="true" format="ixt4:num-dot-decimal" part="7">$row[7]</xule:expression></xule:replace>
                <xule:template-display>
                        $75,000
                </xule:template-display>
            </td>
            <td class="xbrl date_items"><xule:replace><xule:expression class="hide"  name="ReacquiredBondsLineItems" fact="true" format="ixt4:date-month-day-year" part="8">$row[8]</xule:expression></xule:replace>
                <xule:template-display>
                        03/28/2016
                </xule:template-display>
            </td>
            <td class="xbrl date_items"><xule:replace><xule:expression class="hide"  name="ReacquiredBondsLineItems" fact="true" format="ixt4:date-month-day-year" part="9">$row[9]</xule:expression></xule:replace>
                <xule:template-display>
                        03/28/2021
                </xule:template-display>
            </td>
            <td class="xbrl date_items"><xule:replace><xule:expression class="hide"  name="ReacquiredBondsLineItems" fact="true" format="ixt4:date-month-day-year" part="10">$row[10]</xule:expression></xule:replace>
                <xule:template-display>
                    03/28/2017  
                </xule:template-display>
            </td>
            <td class="xbrl date_items"><xule:replace><xule:expression class="hide"  name="ReacquiredBondsLineItems" fact="true" format="ixt4:date-month-day-year" part="11">$row[11]</xule:expression></xule:replace>
                <xule:template-display>
                        02/28/2021  
                </xule:template-display>
            </td>
            <td class="xbrl monetary_items"><xule:replace><xule:expression class="hide"  name="ReacquiredBondsLineItems" fact="true" format="ixt4:num-dot-decimal" part="12">$row[12]</xule:expression></xule:replace>
                <xule:template-display>
                        $104,000,000
                </xule:template-display>
            </td>
            <td class="xbrl monetary_items"><xule:replace><xule:expression class="hide"  name="ReacquiredBondsLineItems" fact="true" format="ixt4:num-dot-decimal" part="13">$row[13]</xule:expression></xule:replace>
                <xule:template-display>
                        $10,000
                </xule:template-display>
            </td>
        </tr>
        <!-- Subtotal for Reacquired Bonds (Account 222) -->
        <tr>
                <td class="xbrl line-number">
                        <xule:replace><xule:expression class="hide">
                                $heading = 2;
                                $subtotal = 2;
                                $bonds = if count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:BondObligationsAxis=*])) > 0
                                            count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:BondObligationsAxis=*]))
                                        else
                                            3;
                                $reacquired_bonds = if count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:ReAcquiredBondObligationsAxis=*])) > 0
                                            count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:ReAcquiredBondObligationsAxis=*]))
                                        else
                                            3;        
                   
                                $heading + $bonds + $reacquired_bonds + $subtotal
                            </xule:expression></xule:replace>
                                <xule:template-display>
                                    1
                                </xule:template-display>
                </td>
                <td class="xbrl description_items">Subtotal</td>
                <td class="xbrl gray-out"></td>
                <td class="xbrl monetary_items">
                    <xule:replace>
                            <xule:expression class="hide" fact="true" format="ixt4:num-dot-decimal">max(list([covered @concept=ferc:ReacquiredBondsPrincipalAmount @period = $currentDuration]))
                            </xule:expression>
                            <xule:template-display>
                                    $22,025,000 
                            </xule:template-display>
                    </xule:replace>  
                </td>
                <td class="xbrl gray-out"></td>
                <td class="xbrl monetary_items">
                    <xule:replace>
                            <xule:expression class="hide" fact="true" format="ixt4:num-dot-decimal">max(list([covered @concept=ferc:ReacquiredBondsIssuanceExpense @period = $currentDuration]))
                            </xule:expression>
                            <xule:template-display>
                                    $2,065,800 
                            </xule:template-display>
                    </xule:replace>  
                </td>
                <td class="xbrl monetary_items">
                        <xule:replace>
                                <xule:expression class="hide" fact="true" format="ixt4:num-dot-decimal">max(list([covered @concept=ferc:ReaquiredBondsPremium @period = $currentDuration]))
                                </xule:expression>
                                <xule:template-display>
                                        $1,092,000 
                                </xule:template-display>
                        </xule:replace>  
                </td>
                <td class="xbrl monetary_items">
                    <xule:replace>
                            <xule:expression class="hide" fact="true" format="ixt4:num-dot-decimal">max(list([covered @concept=ferc:ReaquiredBondsDiscount @period = $currentDuration]))
                            </xule:expression>
                            <xule:template-display>
                                    $1,092,000 
                            </xule:template-display>
                    </xule:replace>  
                </td>
                <td class="xbrl gray-out"></td>
                <td class="xbrl gray-out"></td>
                <td class="xbrl gray-out"></td>
                <td class="xbrl gray-out"></td>
                <td class="xbrl monetary_items">
                        <xule:replace>
                                <xule:expression class="hide" fact="true" format="ixt4:num-dot-decimal">max(list([covered @concept=ferc:ReacquiredBonds @period=$currentInstant]))
                                </xule:expression>
                                <xule:template-display>
                                        $147,642,716
                                </xule:template-display>
                        </xule:replace>  
                </td>
                <td class="xbrl monetary_items">
                        <xule:replace>
                                <xule:expression class="hide" fact="true" format="ixt4:num-dot-decimal">max(list([covered @concept=ferc:InterestExpenseReacquiredBonds @period=$currentDuration]))
                                </xule:expression>
                                <xule:template-display>
                                        $10,345
                                </xule:template-display>
                        </xule:replace>  
                </td>
            </tr>
    <!-- Advances from asociated Companies (Account 223) Heading -->
    <tr>
            <td class="xbrl line-number"><xule:replace><xule:expression class="hide">
                    $heading = 3
                    $subtotal = 2
                    $bonds = if count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:BondObligationsAxis=*])) > 0
                                count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:BondObligationsAxis=*]))
                            else
                                3;
                    $reacquired_bonds = if count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:ReAcquiredBondObligationsAxis=*])) > 0
                                count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:ReAcquiredBondObligationsAxis=*]))
                            else
                                3;        
       
                    $heading + $bonds + $reacquired_bonds + $subtotal</xule:expression></xule:replace>
            </td>
            <td class="xbrl description_items">
                <xule:replace>
                    <xule:expression class="hide">
                        taxonomy().concept(ferc:OutstandingDebtAdvancesFromAssociatedCompaniesAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F1LongTermDebt").text
                    </xule:expression>
                    <div>
                        <xule:template-display>
                                Advances from Associated Companies (Account 223)
                        </xule:template-display>
                    </div>
                </xule:replace>
            </td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl gray-out"></td>
        </tr>
        <!-- Advances from ssociated Companies (Account 223)  -->
        <tr class="schedule-row" xule:repeat="AdvancesLineItems">
            <xule:expression class="hide" name="AdvancesLineItems">// adding a comment
            /** comment within XULE expression
            **/    
            $data2 =   list(for $i in range(3)
                            list($i,none,none,none,none,none,none,none,none,none,none,none,none) 
            );
            
            $data = if count(list({covered @ferc:AdvancesFromAssociatedCompaniesAxis=*})) > 0 
            
                    list({covered @ferc:AdvancesFromAssociatedCompaniesAxis=*  {list(
                        
                    if list({@ferc:OrderNumber @unit=* @period=$currentDuration}).length > 0
                        first(list({@ferc:OrderNumber @unit=* @period=$currentDuration}))
                    else
                        0,
                    if list({@ferc:ClassAndSeriesOfObligationCouponRateDescription @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:ClassAndSeriesOfObligationCouponRateDescription @unit @period=$currentDuration}))
                    else
                        none,
                    if list({@ferc:RelatedAccountNumber @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:RelatedAccountNumber @unit @period=$currentDuration}))
                    else
                        none,
                    if list({@ferc:AdvancesFromAssociatedCompaniesPrincipalAmountIssued @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:AdvancesFromAssociatedCompaniesPrincipalAmountIssued @unit @period=$currentDuration}))
                    else
                        none,
                    if list({@ferc:AdvancesFromAssociatedCompaniesIssuanceExpense @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:AdvancesFromAssociatedCompaniesIssuanceExpense @unit @period=$currentDuration}))
                    else
                        none,
                    if list({@ferc:AdvancesFromAssociatedCompaniesPremium @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:AdvancesFromAssociatedCompaniesPremium @unit @period=$currentDuration}))
                    else
                        none,
                    if list({@ferc:AdvancesFromAssociatedCompaniesDiscount @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:AdvancesFromAssociatedCompaniesDiscount @unit @period=$currentDuration}))
                    else 
                        none,
                    if list({@ferc:NominalDateOfIssue @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:NominalDateOfIssue @unit @period=$currentDuration}))
                    else 
                        none,
                    if list({@ferc:DateOfMaturity @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:DateOfMaturity @unit @period=$currentDuration}))
                    else 
                        none,
                    if list({@ferc:AmortizationPeriodStartDate @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:AmortizationPeriodStartDate @unit @period=$currentDuration}))
                    else 
                        none,
                    if list({@ferc:AmortizationPeriodEndDate @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:AmortizationPeriodEndDate @unit @period=$currentDuration}))
                    else 
                        none,
                    if list({@ferc:AdvancesFromAssociatedCompanies @unit @period=$currentInstant}).length > 0
                        first(list({@ferc:AdvancesFromAssociatedCompanies @unit @period=$currentInstant}))
                    else 
                        none,
                    if list({@ferc:InterestExpenseDebtAdvancesFromAssociatedCompanies @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:InterestExpenseDebtAdvancesFromAssociatedCompanies @unit @period=$currentDuration}))
                    else 
                        none
                )}})
                else $data2;
                
            
                $uniqueData = list(for $x in  $data
                if $x == list(0,none,none,none,none,none,none,none,none,none,none,none,none)
                    skip
                else 
                    $x
                );

                for $row in $uniqueData.sort       
            

            </xule:expression>
            <td class="xbrl line-number"><xule:lineNumber name="AdvancesLineItems"><xule:startNumber>
                    $heading = 3;
                    $subtotal = 2;
                    $bonds = if count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:BondObligationsAxis=*])) > 0
                                count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:BondObligationsAxis=*]))
                            else
                                3;
                    $reacquired_bonds = if count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:ReAcquiredBondObligationsAxis=*])) > 0
                                count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:ReAcquiredBondObligationsAxis=*]))
                            else
                                3;        
       
                    $heading + $bonds + $reacquired_bonds + $subtotal +1
            </xule:startNumber></xule:lineNumber>
                <xule:template-display>3</xule:template-display>
            </td>
            <td class="xbrl description_items"><xule:replace><xule:expression  class="hide"  name="AdvancesLineItems" fact="true" part="2">$row[2]</xule:expression></xule:replace>
                <xule:template-display>
                        Fixed Rate Senior Notes - 5.625% 
                </xule:template-display>
            </td>
            <td class="xbrl account-number"><xule:replace><xule:expression  class="hide"  name="AdvancesLineItems" fact="true" part="3">$row[3]</xule:expression></xule:replace>
                <xule:template-display>
                        Account 222
                </xule:template-display>
            </td>
            <td class="xbrl monetary_items"><xule:replace><xule:expression class="hide"  name="AdvancesLineItems" fact="true" format="ixt4:num-dot-decimal" part="4">$row[4]</xule:expression></xule:replace>
                <xule:template-display>
                        $10,000,000
                </xule:template-display>
            </td>
            <td class="xbrl gray-out"></td>
            <td class="xbrl monetary_items"><xule:replace><xule:expression class="hide"  name="AdvancesLineItems" fact="true" format="ixt4:num-dot-decimal" part="5">$row[5]</xule:expression></xule:replace>
                <xule:template-display>
                        $1,000,000                              
                </xule:template-display>
            </td>
            <td class="xbrl monetary_items"><xule:replace><xule:expression class="hide"  name="AdvancesLineItems" fact="true" format="ixt4:num-dot-decimal" part="6">$row[6]</xule:expression></xule:replace>
                <xule:template-display>
                        $75,000
                </xule:template-display>
            </td>
            <td class="xbrl monetary_items"><xule:replace><xule:expression class="hide"  name="AdvancesLineItems" fact="true" format="ixt4:num-dot-decimal" part="7">$row[7]</xule:expression></xule:replace>
                <xule:template-display>
                        $75,000
                </xule:template-display>
            </td>
            <td class="xbrl date_items"><xule:replace><xule:expression class="hide"  name="AdvancesLineItems" fact="true" format="ixt4:date-month-day-year" part="8">$row[8]</xule:expression></xule:replace>
                <xule:template-display>
                        03/28/2016
                </xule:template-display>
            </td>
            <td class="xbrl date_items"><xule:replace><xule:expression class="hide"  name="AdvancesLineItems" fact="true" format="ixt4:date-month-day-year" part="9">$row[9]</xule:expression></xule:replace>
                <xule:template-display>
                        03/28/2021
                </xule:template-display>
            </td>
            <td class="xbrl date_items"><xule:replace><xule:expression class="hide"  name="AdvancesLineItems" fact="true" format="ixt4:date-month-day-year" part="10">$row[10]</xule:expression></xule:replace>
                <xule:template-display>
                    03/28/2017  
                </xule:template-display>
            </td>
            <td class="xbrl date_items"><xule:replace><xule:expression class="hide"  name="AdvancesLineItems" fact="true" format="ixt4:date-month-day-year" part="11">$row[11]</xule:expression></xule:replace>
                <xule:template-display>
                        02/28/2021  
                </xule:template-display>
            </td>
            <td class="xbrl monetary_items"><xule:replace><xule:expression class="hide"  name="AdvancesLineItems" fact="true" format="ixt4:num-dot-decimal" part="12">$row[12]</xule:expression></xule:replace>
                <xule:template-display>
                        $104,000,000
                </xule:template-display>
            </td>
            <td class="xbrl monetary_items"><xule:replace><xule:expression class="hide"  name="AdvancesLineItems" fact="true" format="ixt4:num-dot-decimal" part="13">$row[13]</xule:expression></xule:replace>
                <xule:template-display>
                        $10,000
                </xule:template-display>
            </td>
        </tr>
            <!-- Subtotal for Advances from Associated Companies (Account 2230 -->
            <tr>
                    <td class="xbrl line-number">
                            <xule:replace><xule:expression class="hide">
                            $heading = 3
                            $subtotal = 3
                            $bonds = if count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:BondObligationsAxis=*])) > 0
                                count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:BondObligationsAxis=*]))
                            else
                                3;
                            $reacquired_bonds = if count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:ReAcquiredBondObligationsAxis=*])) > 0
                                        count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:ReAcquiredBondObligationsAxis=*]))
                                    else
                                        3;  
                            $advances = if count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:AdvancesFromAssociatedCompaniesAxis=*])) > 0
                                count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:AdvancesFromAssociatedCompaniesAxis=*]))
                            else
                                3;

                            $heading + $bonds + $reacquired_bonds + $advances + $subtotal

                            </xule:expression></xule:replace>
                                <xule:template-display>
                                        3
                                </xule:template-display>
                    </td>
                    <td class="xbrl description_items">Subtotal</td>
                    <td class="xbrl gray-out"></td>
                    <td class="xbrl monetary_items">
                        <xule:replace>
                                <xule:expression class="hide" fact="true" format="ixt4:num-dot-decimal">max(list([covered @concept=ferc:AdvancesFromAssociatedCompaniesPrincipalAmountIssued @period = $currentDuration]))
                                </xule:expression>
                                <xule:template-display>
                                        $22,025,000 
                                </xule:template-display>
                        </xule:replace>  
                    </td>
                    <td class="xbrl gray-out"></td>
                    <td class="xbrl monetary_items">
                        <xule:replace>
                                <xule:expression class="hide" fact="true" format="ixt4:num-dot-decimal">max(list([covered @concept=ferc:AdvancesFromAssociatedCompaniesIssuanceExpense @period = $currentDuration]))
                                </xule:expression>
                                <xule:template-display>
                                        $2,065,800 
                                </xule:template-display>
                        </xule:replace>  
                    </td>
                    <td class="xbrl monetary_items">
                            <xule:replace>
                                    <xule:expression class="hide" fact="true" format="ixt4:num-dot-decimal">max(list([covered @concept=ferc:AdvancesFromAssociatedCompaniesPremium @period = $currentDuration]))
                                    </xule:expression>
                                    <xule:template-display>
                                            $1,092,000 
                                    </xule:template-display>
                            </xule:replace>  
                    </td>
                    <td class="xbrl monetary_items">
                        <xule:replace>
                                <xule:expression class="hide" fact="true" format="ixt4:num-dot-decimal">max(list([covered @concept=ferc:AdvancesFromAssociatedCompaniesDiscount @period = $currentDuration]))
                                </xule:expression>
                                <xule:template-display>
                                        $1,092,000 
                                </xule:template-display>
                        </xule:replace>  
                    </td>
                    <td class="xbrl gray-out"></td>
                    <td class="xbrl gray-out"></td>
                    <td class="xbrl gray-out"></td>
                    <td class="xbrl gray-out"></td>
                    <td class="xbrl monetary_items">
                            <xule:replace>
                                    <xule:expression class="hide" fact="true" format="ixt4:num-dot-decimal">max(list([covered @concept=ferc:AdvancesFromAssociatedCompanies @period=$currentInstant]))
                                    </xule:expression>
                                    <xule:template-display>
                                            $147,642,716
                                    </xule:template-display>
                            </xule:replace>  
                    </td>
                    <td class="xbrl monetary_items">
                            <xule:replace>
                                    <xule:expression class="hide" fact="true" format="ixt4:num-dot-decimal">max(list([covered @concept=ferc:InterestExpenseDebtAdvancesFromAssociatedCompanies @period=$currentDuration]))
                                    </xule:expression>
                                    <xule:template-display>
                                            $10,345
                                    </xule:template-display>
                            </xule:replace>  
                    </td>
                </tr>
        <!-- Other Long Term Debt (Account 224)  -->
        <tr>
                <td class="xbrl line-number"><xule:replace><xule:expression class="hide">
                        $heading = 4
                        $subtotal = 3
                        $bonds = if count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:BondObligationsAxis=*])) > 0
                            count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:BondObligationsAxis=*]))
                        else
                            3;
                        $reacquired_bonds = if count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:ReAcquiredBondObligationsAxis=*])) > 0
                                    count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:ReAcquiredBondObligationsAxis=*]))
                                else
                                    3;  
                        $advances = if count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:AdvancesFromAssociatedCompaniesAxis=*])) > 0
                            count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:AdvancesFromAssociatedCompaniesAxis=*]))
                        else
                            3;

                        $heading + $bonds + $reacquired_bonds + $advances + $subtotal</xule:expression></xule:replace>
                </td>
                <td class="xbrl description_items">
                    <xule:replace>
                        <xule:expression class="hide">
                            taxonomy().concept(ferc:OtherLongTermDebtAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F1LongTermDebt").text
                        </xule:expression>
                        <div>
                            <xule:template-display>
                                    Other Long Term Debt (Account 224)
                            </xule:template-display>
                        </div>
                    </xule:replace>
                </td>
                <td class="xbrl gray-out"></td>
                <td class="xbrl gray-out"></td>
                <td class="xbrl gray-out"></td>
                <td class="xbrl gray-out"></td>
                <td class="xbrl gray-out"></td>
                <td class="xbrl gray-out"></td>
                <td class="xbrl gray-out"></td>
                <td class="xbrl gray-out"></td>
                <td class="xbrl gray-out"></td>
                <td class="xbrl gray-out"></td>
                <td class="xbrl gray-out"></td>
                <td class="xbrl gray-out"></td>
            </tr>
         <!-- Other Long Term Debt (Account 224)  -->
         <tr class="schedule-row" xule:repeat="OtherLongTermDebtLineItems">
                <xule:expression class="hide" name="OtherLongTermDebtLineItems">// adding a comment
                /** comment within XULE expression
                **/    
                $data2 =   list(for $i in range(3)
                list($i,none,none,none,none,none,none,none,none,none,none,none,none) 
);

                $data = if count(list({covered @ferc:OtherLongTermDebtAxis=*})) > 0 

                        list({covered @ferc:OtherLongTermDebtAxis=*  {list(
                            
                        if list({@ferc:OrderNumber @unit=* @period=$currentDuration}).length > 0
                            first(list({@ferc:OrderNumber @unit=* @period=$currentDuration}))
                        else
                            0,
                        if list({@ferc:ClassAndSeriesOfObligationCouponRateDescription @unit @period=$currentDuration}).length > 0
                            first(list({@ferc:ClassAndSeriesOfObligationCouponRateDescription @unit @period=$currentDuration}))
                        else
                            none,
                        if list({@ferc:RelatedAccountNumber @unit @period=$currentDuration}).length > 0
                            first(list({@ferc:RelatedAccountNumber @unit @period=$currentDuration}))
                        else
                            none,
                        if list({@ferc:OtherLongTermDebtPrincipalAmountIssued @unit @period=$currentDuration}).length > 0
                            first(list({@ferc:OtherLongTermDebtPrincipalAmountIssued @unit @period=$currentDuration}))
                        else
                            none,
                        if list({@ferc:OtherLongTermDebtIssuanceExpense @unit @period=$currentDuration}).length > 0
                            first(list({@ferc:OtherLongTermDebtIssuanceExpense @unit @period=$currentDuration}))
                        else
                            none,
                        if list({@ferc:OtherLongTermDebtPremium @unit @period=$currentDuration}).length > 0
                            first(list({@ferc:OtherLongTermDebtPremium @unit @period=$currentDuration}))
                        else 
                            none,
                        if list({@ferc:OtherLongTermDebtDiscount @unit @period=$currentDuration}).length > 0
                            first(list({@ferc:OtherLongTermDebtDiscount @unit @period=$currentDuration}))
                        else 
                            none,
                        if list({@ferc:NominalDateOfIssue @unit @period=$currentDuration}).length > 0
                            first(list({@ferc:NominalDateOfIssue @unit @period=$currentDuration}))
                        else 
                            none,
                        if list({@ferc:DateOfMaturity @unit @period=$currentDuration}).length > 0
                            first(list({@ferc:DateOfMaturity @unit @period=$currentDuration}))
                        else 
                            none,
                        if list({@ferc:AmortizationPeriodStartDate @unit @period=$currentDuration}).length > 0
                            first(list({@ferc:AmortizationPeriodStartDate @unit @period=$currentDuration}))
                        else 
                            none,
                        if list({@ferc:AmortizationPeriodEndDate @unit @period=$currentDuration}).length > 0
                            first(list({@ferc:AmortizationPeriodEndDate @unit @period=$currentDuration}))
                        else 
                            none,
                        if list({@ferc:OtherLongTermDebt @unit @period=$currentInstant}).length > 0
                            first(list({@ferc:OtherLongTermDebt @unit @period=$currentInstant}))
                        else 
                            none,
                        if list({@ferc:InterestExpenseOtherLongTermDebt @unit @period=$currentDuration}).length > 0
                            first(list({@ferc:InterestExpenseOtherLongTermDebt @unit @period=$currentDuration}))
                        else 
                            none
                    )}})
                    else $data2;
                    

                    $uniqueData = list(for $x in  $data
                if $x == list(0,none,none,none,none,none,none,none,none,none,none,none,none)
                    skip
                else 
                    $x
                );

                for $row in $uniqueData.sort                    
                
    
                </xule:expression>
                <td class="xbrl line-number"><xule:lineNumber name="OtherLongTermDebtLineItems"><xule:startNumber>
                        $heading = 4;
                        $subtotal = 3;
                        $bonds = if count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:BondObligationsAxis=*])) > 0
                            count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:BondObligationsAxis=*]))
                        else
                            3;
                        $reacquired_bonds = if count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:ReAcquiredBondObligationsAxis=*])) > 0
                                    count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:ReAcquiredBondObligationsAxis=*]))
                                else
                                    3;  
                        $advances = if count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:AdvancesFromAssociatedCompaniesAxis=*])) > 0
                            count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:AdvancesFromAssociatedCompaniesAxis=*]))
                        else
                            3;

                        $heading + $bonds + $reacquired_bonds + $advances + $subtotal +1
                </xule:startNumber></xule:lineNumber>
                    <xule:template-display>1</xule:template-display>
                </td>
                <td class="xbrl description_items"><xule:replace><xule:expression  class="hide"  name="OtherLongTermDebtLineItems" fact="true" part="2">$row[2]</xule:expression></xule:replace>
                    <xule:template-display>
                            Fixed Rate Senior Notes - 5.625% 
                    </xule:template-display>
                </td>
                <td class="xbrl account-number"><xule:replace><xule:expression  class="hide"  name="OtherLongTermDebtLineItems" fact="true" part="3">$row[3]</xule:expression></xule:replace>
                    <xule:template-display>
                            Account 222
                    </xule:template-display>
                </td>
                <td class="xbrl monetary_items"><xule:replace><xule:expression class="hide"  name="OtherLongTermDebtLineItems" fact="true" format="ixt4:num-dot-decimal" part="4">$row[4]</xule:expression></xule:replace>
                    <xule:template-display>
                            $10,000,000
                    </xule:template-display>
                </td>
                <td class="xbrl gray-out"></td>
                <td class="xbrl monetary_items"><xule:replace><xule:expression class="hide"  name="OtherLongTermDebtLineItems" fact="true" format="ixt4:num-dot-decimal" part="5">$row[5]</xule:expression></xule:replace>
                    <xule:template-display>
                            $1,000,000                              
                    </xule:template-display>
                </td>
                <td class="xbrl monetary_items"><xule:replace><xule:expression class="hide"  name="OtherLongTermDebtLineItems" fact="true" format="ixt4:num-dot-decimal" part="6">$row[6]</xule:expression></xule:replace>
                    <xule:template-display>
                            $75,000
                    </xule:template-display>
                </td>
                <td class="xbrl monetary_items"><xule:replace><xule:expression class="hide"  name="OtherLongTermDebtLineItems" fact="true" format="ixt4:num-dot-decimal" part="7">$row[7]</xule:expression></xule:replace>
                    <xule:template-display>
                            $75,000
                    </xule:template-display>
                </td>
                <td class="xbrl date_items"><xule:replace><xule:expression class="hide"  name="OtherLongTermDebtLineItems" fact="true" format="ixt4:date-month-day-year" part="8">$row[8]</xule:expression></xule:replace>
                    <xule:template-display>
                            03/28/2016
                    </xule:template-display>
                </td>
                <td class="xbrl date_items"><xule:replace><xule:expression class="hide"  name="OtherLongTermDebtLineItems" fact="true" format="ixt4:date-month-day-year" part="9">$row[9]</xule:expression></xule:replace>
                    <xule:template-display>
                            03/28/2021
                    </xule:template-display>
                </td>
                <td class="xbrl date_items"><xule:replace><xule:expression class="hide"  name="OtherLongTermDebtLineItems" fact="true" format="ixt4:date-month-day-year" part="10">$row[10]</xule:expression></xule:replace>
                    <xule:template-display>
                        03/28/2017  
                    </xule:template-display>
                </td>
                <td class="xbrl date_items"><xule:replace><xule:expression class="hide"  name="OtherLongTermDebtLineItems" fact="true" format="ixt4:date-month-day-year" part="11">$row[11]</xule:expression></xule:replace>
                    <xule:template-display>
                            02/28/2021  
                    </xule:template-display>
                </td>
                <td class="xbrl monetary_items"><xule:replace><xule:expression class="hide"  name="OtherLongTermDebtLineItems" fact="true" format="ixt4:num-dot-decimal" part="12">$row[12]</xule:expression></xule:replace>
                    <xule:template-display>
                            $104,000,000
                    </xule:template-display>
                </td>
                <td class="xbrl monetary_items"><xule:replace><xule:expression class="hide"  name="OtherLongTermDebtLineItems" fact="true" format="ixt4:num-dot-decimal" part="13">$row[13]</xule:expression></xule:replace>
                    <xule:template-display>
                            $10,000
                    </xule:template-display>
                </td>
            </tr>
            <!-- Subtotal for Other Long Term Debt (Account 224) -->
            <tr>
                    <td class="xbrl line-number">
                            <xule:replace><xule:expression class="hide">
                                $heading = 4;
                                $subtotal = 4;
                                $bonds = if count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:BondObligationsAxis=*])) > 0
                                    count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:BondObligationsAxis=*]))
                                else
                                    3;
                                $reacquired_bonds = if count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:ReAcquiredBondObligationsAxis=*])) > 0
                                            count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:ReAcquiredBondObligationsAxis=*]))
                                        else
                                            3;  
                                $advances = if count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:AdvancesFromAssociatedCompaniesAxis=*])) > 0
                                                count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:AdvancesFromAssociatedCompaniesAxis=*]))
                                            else
                                                3;
                                $other_debt = if count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:OtherLongTermDebtAxis=*])) > 0
                                                count(list([covered @ferc:ClassAndSeriesOfObligationCouponRateDescription @ferc:OtherLongTermDebtAxis=*]))
                                            else
                                                 3;

                                $heading + $bonds + $reacquired_bonds + $advances + $other_debt + $subtotal
                            </xule:expression></xule:replace>
                                <xule:template-display>
                                        3
                                </xule:template-display>
                    </td>
                    <td class="xbrl description_items">Subtotal</td>
                    <td class="xbrl gray-out"></td>
                    <td class="xbrl monetary_items">
                        <xule:replace>
                                <xule:expression class="hide" fact="true" format="ixt4:num-dot-decimal">max(list([covered @concept=ferc:OtherLongTermDebtPrincipalAmountIssued @period = $currentDuration]))
                                </xule:expression>
                                <xule:template-display>
                                        $22,025,000 
                                </xule:template-display>
                        </xule:replace>  
                    </td>
                    <td class="xbrl gray-out"></td>
                    <td class="xbrl monetary_items">
                        <xule:replace>
                                <xule:expression class="hide" fact="true" format="ixt4:num-dot-decimal">max(list([covered @concept=ferc:OtherLongTermDebtIssuanceExpense @period = $currentDuration]))
                                </xule:expression>
                                <xule:template-display>
                                        $2,065,800 
                                </xule:template-display>
                        </xule:replace>  
                    </td>
                    <td class="xbrl monetary_items">
                            <xule:replace>
                                    <xule:expression class="hide" fact="true" format="ixt4:num-dot-decimal">max(list([covered @concept=ferc:OtherLongTermDebtPremium @period = $currentDuration]))
                                    </xule:expression>
                                    <xule:template-display>
                                            $1,092,000 
                                    </xule:template-display>
                            </xule:replace>  
                    </td>
                    <td class="xbrl monetary_items">
                        <xule:replace>
                                <xule:expression class="hide" fact="true" format="ixt4:num-dot-decimal">max(list([covered @concept=ferc:OtherLongTermDebtDiscount @period = $currentDuration]))
                                </xule:expression>
                                <xule:template-display>
                                        $1,092,000 
                                </xule:template-display>
                        </xule:replace>  
                    </td>
                    <td class="xbrl gray-out"></td>
                    <td class="xbrl gray-out"></td>
                    <td class="xbrl gray-out"></td>
                    <td class="xbrl gray-out"></td>
                    <td class="xbrl monetary_items">
                            <xule:replace>
                                    <xule:expression class="hide" fact="true" format="ixt4:num-dot-decimal">max(list([covered @concept=ferc:OtherLongTermDebt @period=$currentInstant]))
                                    </xule:expression>
                                    <xule:template-display>
                                            $147,642,716
                                    </xule:template-display>
                            </xule:replace>  
                    </td>
                    <td class="xbrl monetary_items">
                            <xule:replace>
                                    <xule:expression class="hide" fact="true" format="ixt4:num-dot-decimal">max(list([covered @concept=ferc:InterestExpenseOtherLongTermDebt @period=$currentDuration]))
                                    </xule:expression>
                                    <xule:template-display>
                                            $10,345
                                    </xule:template-display>
                            </xule:replace>  
                    </td>
                </tr>
        <!-- Long Term Debt (Account 224) for Historical Data  -->
        <tr class="schedule-row" xule:repeat="LongTermDebtHeader">
            <xule:expression class="hide" name="LongTermDebtHeader">
                $Historicalheader = list(if count(list({covered @ferc:ClassOrSeriesOfObligationAndNameOfStockExchangeAxis=*})) > 0 
                            "Long Term Debt (Historical Data)"
                        else
                             skip);
                for $row in $Historicalheader 
            </xule:expression>
            <td class="xbrl" colspan="14">
                <xule:replace>
                        <xule:expression class="hide"  name="LongTermDebtHeader" part="1">$row</xule:expression>
                </xule:replace>
            </td> 
        </tr>  
        <tr class="schedule-row" xule:repeat="LongTermDebtLineItems">
            <xule:expression class="hide" name="LongTermDebtLineItems">// adding a comment
            /** comment within XULE expression
            **/    
            
            $data = if count(list({covered @ferc:ClassOrSeriesOfObligationAndNameOfStockExchangeAxis=*})) > 0 

                    list({covered @ferc:ClassOrSeriesOfObligationAndNameOfStockExchangeAxis=*  {list(
                        
                    if list({@ferc:OrderNumber @unit=* @period=$currentDuration}).length > 0
                        first(list({@ferc:OrderNumber @unit=* @period=$currentDuration}))
                    else
                        0,
                    if list({@ferc:ClassAndSeriesOfObligationCouponRateDescription @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:ClassAndSeriesOfObligationCouponRateDescription @unit @period=$currentDuration}))
                    else
                        none,
                    none, /** WHERE ACCOUNT NUMBER WOULD NORMALLY BE **/
                    if list({@ferc:LongTermDebtPrincipalAmountIssued @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:LongTermDebtPrincipalAmountIssued @unit @period=$currentDuration}))
                    else
                        none,
                    if list({@ferc:LongTermDebtIssuanceExpensePremiumOrDiscount @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:LongTermDebtIssuanceExpensePremiumOrDiscount @unit @period=$currentDuration}))
                    else
                        none,
                    none, /** WHERE DISCOUNT WOULD BE AS SPLIT OUT* NOW*/
                    if list({@ferc:NominalDateOfIssue @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:NominalDateOfIssue @unit @period=$currentDuration}))
                    else 
                        none,
                    if list({@ferc:DateOfMaturity @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:DateOfMaturity @unit @period=$currentDuration}))
                    else 
                        none,
                    if list({@ferc:AmortizationPeriodStartDate @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:AmortizationPeriodStartDate @unit @period=$currentDuration}))
                    else 
                        none,
                    if list({@ferc:AmortizationPeriodEndDate @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:AmortizationPeriodEndDate @unit @period=$currentDuration}))
                    else 
                        none,
                    if list({@ferc:LongTermDebtOutstanding @unit @period=$currentInstant}).length > 0
                        first(list({@ferc:LongTermDebtOutstanding @unit @period=$currentInstant}))
                    else 
                        none,
                    if list({@ferc:InterestExpenseOnLongTermDebtIssued @unit @period=$currentDuration}).length > 0
                        first(list({@ferc:InterestExpenseOnLongTermDebtIssued @unit @period=$currentDuration}))
                    else 
                        none
                )}})
                else skip;
                

                $uniqueData = list(for $x in  $data
                if $x == list(0,none,none,none,none,none,none,none,none,none,none,none)
                    skip
                else 
                    $x
                );

                for $row in $uniqueData.sort       
                                   
            

            </xule:expression>
            <td class="xbrl line-number"><xule:lineNumber name="LongTermDebtLineItems"><xule:startNumber>1</xule:startNumber></xule:lineNumber>
                <xule:template-display>1</xule:template-display>
            </td>
            <td class="xbrl description_items"><xule:replace><xule:expression  class="hide"  name="LongTermDebtLineItems" fact="true" part="2">$row[2]</xule:expression></xule:replace>
                <xule:template-display>
                        Fixed Rate Senior Notes - 5.625% 
                </xule:template-display>
            </td>
            <td class="xbrl account-number">
            </td>

            <td class="xbrl monetary_items"><xule:replace><xule:expression  class="hide"  name="LongTermDebtLineItems" fact="true" format="ixt4:num-dot-decimal" part="3">$row[4]</xule:expression></xule:replace>
                <xule:template-display>
                        $32,000
                </xule:template-display>
            </td>
            <td class="xbrl monetary_items"><xule:replace><xule:expression class="hide"  name="LongTermDebtLineItems" fact="true" format="ixt4:num-dot-decimal" part="4">$row[5]</xule:expression></xule:replace>
                <xule:template-display>
                        $10,000,000
                </xule:template-display>
            </td>
            <td class="xbrl gray-out"></td> <!-- Expense column - only for new filing -->
            <td class="xbrl gray-out"></td> <!-- Premium column - only for new filing -->
            <td class="xbrl gray-out"></td> <!-- Discount - only for new filing -->
            <td class="xbrl date_items"><xule:replace><xule:expression class="hide"  name="LongTermDebtLineItems" fact="true" format="ixt4:date-month-day-year" part="5">$row[7]</xule:expression></xule:replace>
                <xule:template-display>
                    03/28/2016                             
                </xule:template-display>
            </td>
            <td class="xbrl date_items"><xule:replace><xule:expression class="hide"  name="LongTermDebtLineItems" fact="true" format="ixt4:date-month-day-year" part="6">$row[8]</xule:expression></xule:replace>
                <xule:template-display>
                    03/28/2021
                </xule:template-display>
            </td>
            <td class="xbrl date_items"><xule:replace><xule:expression class="hide"  name="LongTermDebtLineItems" fact="true" format="ixt4:date-month-day-year" part="7">$row[9]</xule:expression></xule:replace>
                <xule:template-display>
                    03/28/2017
                </xule:template-display>
            </td>
            <td class="xbrl date_items"><xule:replace><xule:expression class="hide"  name="LongTermDebtLineItems" fact="true" format="ixt4:date-month-day-year" part="8">$row[10]</xule:expression></xule:replace>
                <xule:template-display>
                    02/28/2021
                </xule:template-display>
            </td>
            <td class="xbrl monetary_items"><xule:replace><xule:expression class="hide"  name="LongTermDebtLineItems" fact="true" format="ixt4:num-dot-decimal" part="9">$row[11]</xule:expression></xule:replace>
                <xule:template-display>
                    $104,000,000  
                </xule:template-display>
            </td>
            <td class="xbrl monetary_items"><xule:replace><xule:expression class="hide"  name="LongTermDebtLineItems" fact="true" format="ixt4:num-dot-decimal" part="10">$row[12]</xule:expression></xule:replace>
                <xule:template-display>
                    $10,000
                </xule:template-display>
            </td>
        </tr>
        <!-- Total for historical data -->
        <tr>
                <td class="xbrl line-number">33</td>
                <td class="xbrl description_items">TOTAL</td>
                <td class="xbrl gray-out"></td>
                <td class="xbrl monetary_items">
                    <xule:replace>
                            <xule:expression class="hide" fact="true" format="ixt4:num-dot-decimal">max(list([covered @concept=ferc:LongTermDebtPrincipalAmountIssued @period=$currentDuration]))
                            </xule:expression>
                            <xule:template-display>
                                    $147,642,716
                            </xule:template-display>
                    </xule:replace>  
                </td>
                <td class="xbrl monetary_items">
                    <xule:replace>
                            <xule:expression class="hide" fact="true" format="ixt4:num-dot-decimal">max(list([covered @concept=ferc:LongTermDebtIssuanceExpensePremiumOrDiscount @period=$currentDuration]))
                            </xule:expression>
                            <xule:template-display>
                                    $147,642,716
                            </xule:template-display>
                    </xule:replace>  
                </td>                                
                <td class="xbrl gray-out"></td> 
                <td class="xbrl gray-out"></td> 
                <td class="xbrl gray-out"></td> 
                <td class="xbrl gray-out"></td>
                <td class="xbrl gray-out"></td>
                <td class="xbrl gray-out"></td>
                <td class="xbrl gray-out"></td>
                <td class="xbrl monetary_items">
                        <xule:replace>
                                <xule:expression class="hide" fact="true" format="ixt4:num-dot-decimal">max(list([covered @concept=ferc:LongTermDebtOutstanding @period = $currentInstant]))
                                </xule:expression>
                                <xule:template-display>
                                        $2,025,000,000 
                                </xule:template-display>
                        </xule:replace>  
                </td>
                <td class="xbrl monetary_items">
                        <xule:replace>
                                <xule:expression class="hide" fact="true" format="ixt4:num-dot-decimal">max(list([covered @concept=ferc:InterestExpenseOnLongTermDebtIssued @period=$currentDuration]))
                                </xule:expression>
                                <xule:template-display>
                                        $147,642,716
                                </xule:template-display>
                        </xule:replace>  
                </td>
            </tr> 
    </table>
    <br/>
<div class="schedule-footer">
    <div>FERC FORM No. 
            <xule:replace>
                <xule:expression class="hide" fact="true">first(list([@ferc:FormType @period=$currentDuration]))</xule:expression>
                <xule:template-display>2/3-Q</xule:template-display>
            </xule:replace>
            <span> </span>
            <xule:replace>
                <xule:expression class="hide">" (" + taxonomy().concept(ferc:ScheduleLongTermDebtAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F1DateRevised").text + ")"
                </xule:expression>
                <xule:template-display>
                        12-96
                </xule:template-display>
            </xule:replace>            
    </div>
    <div class="center-text">Page 
            <xule:replace>
                    <xule:expression class="hide">taxonomy().concept(ferc:ScheduleLongTermDebtAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F1PageRange").text
                    </xule:expression>
                    <xule:template-display>
                            256
                    </xule:template-display>
            </xule:replace>
    </div> 


</div>
</body>
</html>