rephrase call of foldLeft