reimplemented resource control