added connector factory