working on probability distribution creation