added doneKill