added die statement