added destroy nod functionality