moved get_node_values out of connection class