modifications necessary for tspline implementation