added second branching test