Added calculation of debt (dummy).