refactor, excConnect (avoid dupped code)