mining extraction process flow diagram