add func ownedResource