added partially complete connection handler