Lecture on thermostats