Thresholding works now