more loop changes.