slight refactoring, remove dead code
test must verify success of the repeat