added spline class