setting default connection