ore quality control