SMS dit: Thermodynamics of heat-engines.