what is the proccess f mining tin