rename get next node method