added code relating to going around flows