Economic planning is a mechanism for the allocation of economic inputs and decision-making based on direct allocation, in contrast to the market mechanism, which is based on indirect allocation.[44] An economy based on economic planning appropriates its resources as needed, so that allocation comes in the form of internal transfers rather than market transactions involving the purchasing of assets by one government agency or firm by another. Decision-making is carried out by workers and consumers on the enterprise-level.