Adding connect lines