added probabilistic hashing