initial loop changes