switching anchor to side B and modifying flowgraph