better error message if warmer or cooler not defined