THEORY OF RUIN