comment out thresholding