edit for true hashing