avoid forEach