probabilities generation