added resource manager