removed buggy index counter for forEach()