added get_nodes