Rename var

Originally node was declared twice, which is a bit confusing. Just renamed it to be a little clearer that it's a separate node from the node var declared above.