Added FOR loop processing.