minor progress on looping