added node labelling for tagnames