Now with loop size control
Now with loop control