adding TH kill switch