formation and mining of minerals