A version that can run through.  May need to debug, because certain node states go all 1s