Obviously it should not be here, but outside the loop.