testing branching concept