allowing for adding nodes just once