The railroad is designed to take many twists and turns.