alterations to nodehash.c