use new hash function