compiled 2 branching