use smoothing in splines