Early railroads faced difficulties including workers fearing job loss from competition with horse-drawn wagons, investors in canals worrying about competition, and accidents caused by weak bridges and track issues. However, many of these problems were solved by the 1850s as railroads expanded across the nation. Railroads and clipper ships helped the northern economy by increasing commerce, connecting cities and towns as markets, and transporting farm goods cheaply, though this competition hurt New England farmers. Steam power also aided the economy by allowing factories to be built anywhere and power machines to produce more goods at lower costs.