Company XYZ has issued bonds with a nominal interest rate of 6%. The market interest rates have risen, and the bonds are now trading at a discount to their face value. When calculating the cost of debt for Company XYZ, what should be primarily considered?