setting up network communications
changed to ini