Checking the branches