in reply to hash question

dbs:

Not with the code you've shown, it doesn't. It won't even compile. Please make a small example that shows the problem.

...roboticus

When your only tool is a hammer, all problems look like your thumb.