Updated Network Code

Fixed duplication error.