method noise tollerance
few modifications