Text this: Debt and investments: analysis of selected countries