added ResourceManager