not looping properly, please help.

Printable View