Before 1883, most towns in the United States set their clocks by the Sun, declaring noon at the moment the Sun stood highest overhead. Because that moment arrives slightly later the farther west one goes, a traveler riding from Boston to Chicago could pass through dozens of different local times. For most residents, the variation hardly mattered, since few people journeyed far enough in a single day to notice it. For railroads, however, it was a constant problem. Each company published its schedules according to the time of its home city, so a busy station might display several clocks, each showing a different hour for a different line. Missed connections were common, and crews sharing a stretch of track could not always be sure when another train would arrive. In November 1883, the major railroads replaced this patchwork with four standard time zones, and stations throughout each zone set their clocks to the same hour. Many towns quickly followed the railroads' lead, but the change was not welcomed everywhere. Some local newspapers complained that private companies had no right to decide the time for everyone, and a few city councils refused for years to adopt the new zones, insisting that time ought to be fixed by the Sun rather than by a business. The zones did not become official under federal law until 1918.