Using resource type