Inline new_quality variable