add loop start and referencing current iteration