terminal hardening