adding randomness