Use the AS built in API function