4. thermodynamics