init for branch