insert code for killing nodes