added label to nodes