add viewFlow