for loop reduced.