Zaslat SMS: Principles of thermodynamics and statistical mechanics