added threshold value for #6