foldleft example added