Moved again inside the inner loop.