G20 can learn from history