add the foldRight/foldLeft extraction flow as comment beyond on foldRight/foldLeft