updated Node implementation
still can't get looping to work  without error