add DIED back in trim.py