Thresholding working.