Merge pull request #12 from kirstiem/death-function

Death function