mining for metals flow chart