Renaming Node.then

then is a reserved keyword, so changing then to setNext