Thermodynamics and the end of the universe.