line and spline working now