Changing the hashing logic