initially add resource