add quality_trim with condetri