probability theory and examples