removed comma from newnode()