added kill mode.