added thresholding