hash function changed