Working on delete node - not sure if this is the right way