How to be rich in a poor country