create flows right way