Spline example