created node class