changed delays in death function