Adjusted the threshold value