(added) - more work on connections between segments