Market discipline, however, may not always be fully effective in this context. The development of the federal safety net--deposit insurance, the discount window, and access to Fedwire and daylight overdrafts--has inevitably impeded the workings of market discipline in the regulatory arena. That is, the various elements of the safety net provide depository institutions and financial market participants with a level of safety, liquidity, and solvency that was far less prevalent before the advent of the Federal Reserve and the subsequent establishment of federal deposit insurance. By deterring liquidity panics, the safety net shields the overall economy from some of the worst effects of instability in the financial system. These benefits, however, are not without costs. The prospect of government intervention distorts market prices and may also engender excessive risk-taking.