protocol v0.4: use position for branching