added branch to first node in last node