adding resource manager
see previous
adding resource manager