add type of resource