had to use actionArgs.repeat + 1 to make the unit tests pass, but done.