What was the primary challenge for countries after independence?