adding nodes back