possibly identified a source of code weirdness but did not fix.  TODO marked