Saving node name in the data structure