added network func