added for loop.

I don't know if the pixel is right.