Shays are geared locomotives. The three cylinder steam engine on the one side turns drive shafts which engage all the axles through miter gears. These locomotives are slow, but have very high pulling power and can handle steep grades.