Anagram thermostatting