testing the branching