completed the resource manager