Japan will now introduce a new bullet train that “is earthquake-proof because of its onboard power source and different modes for tackling dangerous track,” Popular Mechanics reports.

The train can slow down and speed up faster during an emergency. The upgrades to the train are lighter, giving the train flexibility to stop quicker during problematic scenarios.

The N700S train was put into service on July 1. It will run on the Tokaido Shinkansen line, which connects Tokyo Station and Shin-Osaka Station in Osaka, according to CNN

The train includes an automatic control and brake system, giving it the chance to react quickly in emergencies.

According to CNN:

“This system allows the train to run for a short distance on its own during a power outage and will make it possible for it to move to a safer location at low speed if stranded in a high-risk area—on a bridge or in a tunnel, for example—during an earthquake.”

Having a backup energy system can prove crucial during an earthquake since “electric trains are vulnerable to earthquakes if power plants or anything else along the transmission line is damaged,” per Popular Mechanics.

Japan sees plenty of earthquakes, accounting for about 10% of the world’s total quakes.