server: to forEaches