fixed comment
added union flow function
comments