add resource manager