SMS dit: Thermodynamics and statistical mechanics