let
node_count = ref 0