I believe a call to *submit()* is missing inside this loop.