modifiying freeressourceAction