edited DeathListener