adding consistent hashing