an engine can power a locomotive