add key hashing