moved Node into the header file