Finished matching of flow function.