Added FOR loops processing.