Changed hashing algorithm