same goes for the other die()s in here.