Replace some by forEach