inprocess quality control