added quality-trim