working on client to network communication