work on network code