implement connecting