function die_msg() removed