On the Theory of Contingency