Japanese rule prior to and during World War II brought changes in the public and private sectors, most notably in the area of public works, which enabled rapid communications and facilitated transport throughout much of the island. The Japanese also improved public education and made it compulsory for all residents of Taiwan. By 1945, hyperinflation was in progress in mainland China and Taiwan as a result of the war with Japan. To isolate Taiwan from it, the Nationalist government created a new currency area for the island, and began a price stabilization programme. These efforts significantly slowed inflation.