connection procedure