in the middle of pop function and i need to make a node destructor