Filled in connectNetwork