created base node class