Added ThresholdDebounce