added prate threshold