initial setup for networking