logic for die and revive
Revert "logic for die and revive"

This reverts commit 12bfbe601c1844e58922c3f4d261900b51247e5d.
sda
Merge remote-tracking branch 'origin/master'