how death works