generalized connect and bridge