add tree connections