mining process from rock to final product