adding node class