committing private version. about to start incorporation of work on Unnester