Understanding temperature measurement