business function of a miningpany