kill logic