Entire technologies, such as on-dock rail, proved to be sinkholes: ports that laid train tracks on the docks, so that cranes could transfer cargo directly from ships to waiting railcars, learned that the time required to move the train forward as the crane loaded each railcar delayed ships and reduced productivity. Many of the on-dock rail lines were abandoned, but the cost of failure was largely borne by the ports.12