Adding die statements to your code doesn't make it work well.