In correcting the balance of payment deficit, countries may borrow money in foreign currencies, which they must repay with interest, by purchasing with their own currencies, the foreign currencies held by the IMF.