working network_deeplink function