more work on the spline demo