Which loop causing you the problem.