hmm.  v0 completeish, but need to rewrite now i better understand teh issues.