nit: ``for (var i in repeat)``