Gold costs were about $317 per troy ounce in 2007, but these can vary widely depending on mining type and ore quality; global mine production amounted to 2,471.1 tonnes. After initial production, gold is often subsequently refined industrially by the Wohlwill process which is based on electrolysis or by the Miller process, that is chlorination in the melt. The Wohlwill process results in higher purity, but is more complex and is only applied in small-scale installations. Other methods of assaying and purifying smaller amounts of gold include parting and inquartation as well as cupellation, or refining methods based on the dissolution
Commodity (Marxism) of value, product-values in an open market are regulated by the average socially necessary labour time required to produce them, and price relativities of products are ultimately governed by the law of value. Commodity-trade, Marx argues, historically begins at the boundaries of separate economic communities based otherwise on a "non-commercial" form of production. Thus, producers trade in those goods of which those producers, have episodic or permanent surpluses to their own requirements, and they aim to obtain different goods with an equal value in return. Marx refers to this as "simple exchange" which implies what Frederick Engels calls "simple commodity