Add network handling