Loop each branch