init flow view