committing even more correct solution to hash.c