connecting nodes