add new thresholding and jitting