add intro to types of probability function