convert some each to for/of