mining and separating minerals