I want to return an object as the result of a calculation in a method but I get "Cannot implicitly convert type 'ConsoleApp2Iteration.LoanOut' to 'double". The "return new LoanOut" is underlined. What is going wrong? I need the three outputs (InterestPaymentAnnual etc.) as input to other calculations elsewhere. 

```
public class Loan
{  
 > initialisers here  
    public double LoanCalc()
    {
        double nper = LoanYrs * NprPrYr;//payment terms per yr  
 `double EffectiveRate = Math.Pow(1 + (InterestPct + ContribPct),  
(Math.Pow(NprPrYr, -1))) - 1;`   
//interest per payment term
        double Interest_Contribution = InterestPct + ContribPct;
        double length = nper;
        double InterestPaymentP1 = 0;
        {
            Pymnt = Financial.Pmt(EffectiveRate, nper, LoanNPV, 0, 0);
            LoanOutstanding = LoanNPV;           
        for (int i = 1; i <= length; i++)
             {
// code block removed for clarity   
            if (i % NprPrYr != 0)
// testing for full years as derived calculations use input inyears                    
                    {
                    InterestPaymentAnnual += Interest_ContributionUSD;
                    RePymntAnnual += RePymnt;
                    }
            else
                   {
                    InterestPaymentAnnual += Interest_ContributionUSD;
                    RePymntAnnual += RePymnt;
 // new object which containts annual interest payment, annual repayment and    
 //   remaining loan amount
                   return new LoanOut(InterestPaymentAnnual, RePymntAnnual,    
                    LoanOutstanding);
 //initialisation before new payment cycle
                    InterestPaymentAnnual = 0;
                    RePymntAnnual = 0;
                }
            }
        }
        return InterestPymntP1;
    }
}

public class LoanOut
{
    public double InterestPaymentAnnual { get; private set; }
    public double RePymntAnnual { get; private set; }
    public double LoanOutstanding { get; private set; }
    double InterestPymntP1 = 0;
    double Repayment = 0;
    double DebtRemaining = 0;
     public LoanOut(double InterestPaymentAnnual, double RePymntAnnual, 
     double LoanOutstanding)
    {
        this.InterestPaymentAnnual = InterestPymntP1;
        this.RePymntAnnual = Repayment;
        this.LoanOutstanding = DebtRemaining;
    }
}

```