hashing now works