add network code