use splines instead of lines