Added Quality API function