how to process ore mining