added die to the end