change Node to be generix type.