Added cancelThreshold
Added cancelThreshold