use more generic net_to_net