change smoothingFactor to smoothingCoefficient