removed the foldl' vector