separated prng and added bloom filter methods