removing resouce management