adding structure for network