Add deathLogging