finished the template for network.