add resource type labeling