Probabilistic approaches to design