consolidate connect calls