implementing hook_node_delete()