adding nodes labels, still needs unit tests