added connec response handling