checking Branching