Locomotives once ran on steam power.