This is probably a bad idea as you're iterating on nodes.