part 1 looping now works