added an object to move along the spline