checking if branching works