removing the die statement