close shape in Thermometer, see #117