additional duplication removed into reduce_quality_of method