(fix) Helps to call foldl in the right order!