changed threshold value to 1010