P89: Basic branching added