added isDead method and deathSequence method.