working tuple hasher