by products of metals through mining