added more flow operations.
make use of the new flow ops.