define old_networks before reference