the process of mining infrastructure