Learning from crises