impl AddResource