Investment, cash flow, and sunk costs