general phases of a mining operation