Changes to hashing