add smoothing setting