implements two connection configure type