first (failed) attempt to deal with blinker graphs. code commented out - algo is stock here.