worked on forLoop.