replace one repeat loop with multiple=true