more work on the network code.