how to pick the best branch