added comments to multiple network code