The first successful economizer design was used to increase the steam-raising efficiency of the boilers of stationary steam engines. It was patented by Edward Green in 1845, and since then has been known as Green's economiser. It consisted of an array of vertical cast iron tubes connected to a tank of water above and below, between which the boiler's exhaust gases passed. This is the reverse arrangement to that usually but not always seen in the fire tubes of a boiler; there the hot gases usually pass through tubes immersed in water, whereas in an economizer the water passes through tubes surrounded by hot gases. While both are heat exchange devices, in a boiler the burning gases heat the water to produce steam to drive an engine, whether piston or turbine, whereas in an economizer, some of the heat energy that would otherwise all be lost to the atmosphere is instead used to heat the water and/or air that will go into the boiler, thus saving fuel. The most successful feature of Green's design of economizer was its mechanical scraping apparatus, which was needed to keep the tubes free of deposits of soot.