inline quality control