reduce
err fold