added network functionality