what is the process of mining tin