Cleaned up spline