Solved forEach problem