removed forEach iteration, used standard for intead