Railroads at war