working on a dying and reset scenario