added spline smoother. not sure if valid way to do it