working on network layer