still trying to fix it
some work starting with splines