added indices as arguments when repeater is evaluated
implemented index argument in repeater