batch quality control