replace definition with quality