Added function die.