Thirdly, the persistent large trade imbalances in the world meant that some countries, such as mainland China (which joined the World Trade Organization in December 2001), piled up tremendous external trade surpluses and their excess funds became available to foreign borrowers.