simplify ResourceManager