changed delete to kill