how you mine metal ores