fixes code example to include 'die'