using uniqueName instead of sourceType