initial work on splines