How modern history was invented in India and China