Application of probability theory