Changed to loop.