added hashing