A well-functioning market economy requires laws protecting private property rights and providing mechanisms for contract enforcement. Without a legal system that protects property rights, and without the machinery to enforce that system, the incentive to engage in economic activity can be reduced substantially by private and public entities, including organized crime, that expropriate the profits generated by the efforts of private-sector entrepreneurs. When communism collapsed, many of these countries lacked the legal structure required to protect property rights, all property having been held by the state. Although many nations have made big strides toward instituting the required system, it will be many more years before the legal system is functioning as smoothly as it does in the West.