initial network handling