Selection of the hardening environment