branches count randomized