three types of processing in mining