Moving process_node to global.