changed to resource manager