convert this line to 292 as for loop.