resourceManager class modification