A more complex application of the flow graph