Tiny steps : foldLeft with filter