imporoved local_node, renamed to local