Added smoothing fn