Merge pull request #2 from retropunch/master

Merge pull request #12 from kirstiem/death-function