Compressed-air engines were used in trams and shunters, and eventually found a successful niche in mining locomotives, although in the end they were replaced by electric trains, underground. Over the years designs increased in complexity, resulting in a triple expansion engine with air-to-air reheaters between each stage. For more information see Fireless locomotive and Mekarski system.