further work on primitive cond-lines. I think I got it now.