How does the market fail?