modifying node class