added third branching test